using UnityEngine; namespace Syntriax.Modules.Movement { public static class IMovementExtensions { /// /// Applies a parameter into the 's method by applying the vector's X and Y values accordingly /// public static void Move(this IMovement movement, Vector2 moveVector) => movement.Move(moveVector.x, moveVector.y); /// /// Applies a parameter into the 's method by applying the vector's X, Y and Z values accordingly /// public static void Move(this IMovement movement, Vector3 moveVector) => movement.Move(moveVector.x, moveVector.y, moveVector.z); } }