/// <summary> /// /// </summary> private void Awake() { if (instance != null && instance != this) { Destroy(this.gameObject); } else { instance = this; } m_requestManager = GetComponent <PathRequestManagerMB>(); }
void Awake() { instance = this; pathfinding = GetComponent <PathFinderMB>(); }