Example #1
0
 // Use this for initialization
 public void Init(Vector3 start, Vector3 end, UnitAttack attack, float altitude = 0.0f)
 {
     transform.position = start;
     this.attack        = attack;
     move = GetComponent <UnitMove> ();
     move.Init(end, altitude);
 }