// Use this for initialization void Awake() { singleton.DontDestroyElseKill(this); nmAgent = GetComponent <NavMeshAgent> (); }
void Awake() { singleton.DontDestroyElseKill(this); }