//private Queue<PathRequest> pathRequestQueue = new Queue<PathRequest>(); //private PathRequest currentPathRequest; //private bool isProcessingPath; public void Awake() { if (main == null) { main = this; } }
public void Awake() { if (main == null) { main = this; } else { Destroy(this); } }