void Awake()
 {
     instance    = this;
     pathFinding = GetComponent <Pathfinding> ();
 }
Esempio n. 2
0
 void Start()
 {
     // Attempt to get this character manager script.
     characterManager = GetComponentInParent <Character_Manager> ();
     requestManager   = GetComponentInParent <PathRequestManager>();
 }