Movement/VariableMovement/SimpleImplemantation/SimpleVariableMovementAsset.cs

14 lines
543 B
C#
Raw Normal View History

2022-02-19 15:03:06 +03:00
using UnityEngine;
namespace Syntriax.Modules.Movement.VariableMovement.SimpleImplementation
{
[CreateAssetMenu(fileName = "Simple Variable Movement Asset", menuName = "Syntriax/Modules/Movement/VariableMovement/Simple Variable Movement Asset", order = 0)]
public class SimpleVariableMovementAsset : ScriptableObject, IVariableMovementAsset
{
[SerializeField] protected float movementMultiplier = 1f;
public string MovementName => this.name;
public float MovementMultiplier => movementMultiplier;
}
}