mirror of
https://github.com/unity-atoms/unity-atoms.git
synced 2025-01-24 00:58:59 -05:00
21 lines
588 B
C#
21 lines
588 B
C#
|
using System;
|
||
|
using UnityEngine;
|
||
|
|
||
|
namespace UnityAtoms
|
||
|
{
|
||
|
[Serializable]
|
||
|
public class ConditionalIntGameActionHelper : ConditionalGameActionHelper<int, IntAction, BoolIntFunction> { }
|
||
|
|
||
|
[CreateAssetMenu(menuName = "Unity Atoms/Int/Conditional", fileName = "ConditionalIntAction", order = CreateAssetMenuUtils.Order.CONDITIONAL)]
|
||
|
public class ConditionalIntAction : IntAction
|
||
|
{
|
||
|
[SerializeField]
|
||
|
private ConditionalIntGameActionHelper Conditional = null;
|
||
|
|
||
|
public override void Do(int t1)
|
||
|
{
|
||
|
Conditional.Do(t1);
|
||
|
}
|
||
|
}
|
||
|
}
|