예제 #1
0
 // Use this for initialization
 void Awake()
 {
     singleton.DontDestroyElseKill(this);
     nmAgent = GetComponent <NavMeshAgent> ();
 }
예제 #2
0
 void Awake()
 {
     singleton.DontDestroyElseKill(this);
 }