Exemplo n.º 1
0
 // Use this for initialization
 void Start()
 {
     manager = GameObject.Find("Main Camera").GetComponent <PathmakerManager>();
     spawn   = floorPrefab1;
 }
Exemplo n.º 2
0
 void Awake()
 {
     instance = this;
 }