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