コード例 #1
0
 // Use this for initialization
 void Start()
 {
     myController = gameObject.GetComponent<Minion>();
 }
コード例 #2
0
ファイル: DealSlow.cs プロジェクト: TheDebugLog/TowerDefense
 // Use this for initialization
 void Start()
 {
     myController = gameObject.GetComponent<Minion>();
     //_speed = _myController.Speed;
     _speed = 10.0f;
 }