lib-unity-demo-character-unity-Assets-VirtualWorldExample-Main.js / js
var prefab : GameObject; // This script creates a character prefab every 3 seconds, // and places it at a random position. while(true) { go = Instantiate(prefab); go.transform.position = new Vector3(Random.value * 10, 0, Random.value * 10); yield new WaitForSeconds(3); }
(C) Æliens 04/09/2009
You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.