Esempio n. 1
0
 public void Init(Vector3 position, RunCharacter target)
 {
     base.Init(position);
     isSpeedUp   = false;
     this.target = target;
     distance    = Mathf.Abs(target.transform.position.z - transform.position.z);
 }
Esempio n. 2
0
 public void Init(Vector3 position,RunCharacter target)
 {
     base.Init(position);
     isSpeedUp = false;
     this.target = target;
     distance = Mathf.Abs(target.transform.position.z - transform.position.z);
 }