Exemplo n.º 1
0
 public float DistanceToSquared(TransformInfo other)
 {
     return((other.position - position).sqrMagnitude);
 }
Exemplo n.º 2
0
 public Vector3 DirectionTo(TransformInfo other)
 {
     return((other.position - position).normalized);
 }
Exemplo n.º 3
0
 public float DistanceTo(TransformInfo other)
 {
     return((other.position - position).magnitude);
 }