using UnityEngine; public static class Extensions { public static bool Approximately(this Vector3 vect, Vector3 other) { return Mathf.Approximately(Vector3.Distance(vect, other), 0); } }