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