using UnityEngine; namespace UnityAtoms { [CreateAssetMenu(menuName = "Unity Atoms/Variables/Float")] public class FloatVariable : EquatableScriptableObjectVariable, IWithApplyChange { public bool ApplyChange(float amount) { return SetValue(Value + amount); } public bool ApplyChange(EquatableScriptableObjectVariable amount) { return SetValue(Value + amount.Value); } } }