public static Vector3 ToVector2(this DIRECTION dir) { Vector3 directionVector = dir.ToVector3(); return(new Vector2(directionVector.x, directionVector.z)); }
public Vector3 GetAdjacentGridSquareFromPos(Vector3 pos, DIRECTION dir) { return(pos + (dir.ToVector3() * _shaderGridSpacing)); }