// Use this for initialization
 void Start()
 {
     myController = gameObject.GetComponent<Minion>();
 }
Exemplo n.º 2
0
 // Use this for initialization
 void Start()
 {
     myController = gameObject.GetComponent<Minion>();
     //_speed = _myController.Speed;
     _speed = 10.0f;
 }