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