// Use this for initialization
 void Start()
 {
     myController = gameObject.GetComponent<Minion>();
 }
Пример #2
0
 // Use this for initialization
 void Start()
 {
     myController = gameObject.GetComponent<Minion>();
     //_speed = _myController.Speed;
     _speed = 10.0f;
 }