unity-atoms/Source/ConditionalActions/ConditionalTouchUserInputAction.cs
2019-05-29 18:52:27 +02:00

22 lines
672 B
C#

using System;
using UnityEngine;
namespace UnityAtoms.Mobile
{
[Serializable]
public sealed class ConditionalTouchUserInputGameActionHelper : ConditionalGameActionHelper<TouchUserInput, TouchUserInputAction, BoolTouchUserInputFunction> { }
[CreateAssetMenu(menuName = "Unity Atoms/Conditional Actions/TouchUserInput", fileName = "ConditionalTouchUserInputAction")]
public sealed class ConditionalTouchUserInputAction : TouchUserInputAction
{
[SerializeField]
public ConditionalTouchUserInputGameActionHelper Conditional;
public override void Do(TouchUserInput t1)
{
Conditional.Do(t1);
}
}
}