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; [SerializeField] private R Value; public override void Do() { Variable.Value = Value.Value; } } }