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); }
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); }