Difference between revisions of "RandomPrefabSpawner Demo"

From Headbone Creative
Jump to: navigation, search
(Initial page)

Revision as of 16:17, 21 April 2013

This demo scene actually shows two scripts in action. First, the scene itself is created using RandomPrefabSpawner. You can use the buttons in the editor to clear and regenerate the scene as desired.

Also attached to the RandomPrefabSpawner scene container is the Map2d script. If you press play, this script will allow you to zoom in and out of the random field of prefabs, as well as move it around by clicking and dragging. Map2d works with touch events on mobile devices as well.

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox