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