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