mirror of
https://github.com/unity-atoms/unity-atoms.git
synced 2025-01-24 17:17:47 -05:00
22 lines
717 B
C#
22 lines
717 B
C#
|
using System;
|
|||
|
using UnityEngine;
|
|||
|
|
|||
|
namespace UnityAtoms.Mobile
|
|||
|
{
|
|||
|
[Serializable]
|
|||
|
public class ConditionalTouchUserInputGameActionHelper : ConditionalGameActionHelper<TouchUserInput, TouchUserInputAction, BoolTouchUserInputFunction> { }
|
|||
|
|
|||
|
[CreateAssetMenu(menuName = "Unity Atoms/Mobile/Touch User Input/Conditional", fileName = "ConditionalTouchUserInputAction", order = CreateAssetMenuUtils.Order.CONDITIONAL)]
|
|||
|
public class ConditionalTouchUserInputAction : TouchUserInputAction
|
|||
|
{
|
|||
|
[SerializeField]
|
|||
|
public ConditionalTouchUserInputGameActionHelper Conditional = null;
|
|||
|
|
|||
|
public override void Do(TouchUserInput t1)
|
|||
|
{
|
|||
|
Conditional.Do(t1);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
|