示例#1
0
 void Start()
 {
     ToDestroy = WillBeDestroyed.GetComponent <NavMeshAgent>();
     script    = WillBeDestroyed.GetComponent <WayPointPatrol>();
 }
示例#2
0
文件: Observer.cs 项目: Trebla012/IA
 private void Start()
 {
     AI     = GetComponent <WayPointPatrol>();
     player = GetComponent <Transform>();
 }