Exemple #1
0
 // Use this for initialization
 void Start()
 {
     aiAgent = GetComponent <AIAgent>();
     aiAgent.updatePosition = false;
 }
 protected virtual void Awake()
 {
     owner = GetComponent <AIAgent>();
 }
Exemple #3
0
 void Start()
 {
     aiAgent = GetComponent <AIAgent>();
     // Don't update the position until later
     aiAgent.updatePosition = false;
 }