Esempio n. 1
0
 void Start()
 {
     controller = (CharacterPathController)FindObjectOfType(typeof(CharacterPathController));
     map        = GetComponent <IndexToPrefab>();
     ShowCurrentPrefab();
     controller.SetCharacter(characterIndex);
 }
Esempio n. 2
0
 // Start is called before the first frame update
 void Start()
 {
     controller = (CharacterPathController)FindObjectOfType(typeof(CharacterPathController));
 }