using System; using UnityEngine; using UnityEngine.Serialization; namespace UnityAtoms { [Serializable] public sealed class ConditionalColorGameActionHelper : ConditionalGameActionHelper { } [CreateAssetMenu(menuName = "Unity Atoms/Color/Conditional", fileName = "ConditionalColorAction", order = CreateAssetMenuUtils.Order.CONDITIONAL)] public sealed class ConditionalColorAction : ColorAction { [FormerlySerializedAs("Conditional")] [SerializeField] private ConditionalColorGameActionHelper _conditional; public override void Do(Color t1) { _conditional.Do(t1); } } }