using UnityEngine; namespace UnityAtoms { public abstract class SetVariableValue : VoidAction where E1 : GameEvent where E2 : GameEvent where V : ScriptableObjectVariable where R : ScriptableObjectReference { [SerializeField] private V Variable = null; [SerializeField] private R Value = null; public override void Do() { Variable.Value = Value.Value; } } }