Esempio n. 1
0
 public float GetDistanceTo(IInteractor interactor)
 {
     return(Mathf.Abs(transform.position.x - interactor.GetPosition().x));
 }