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