mirror of
https://github.com/unity-atoms/unity-atoms.git
synced 2025-01-24 09:08:23 -05:00
21 lines
598 B
C#
21 lines
598 B
C#
|
using System;
|
||
|
using UnityEngine;
|
||
|
|
||
|
namespace UnityAtoms
|
||
|
{
|
||
|
[Serializable]
|
||
|
public class ConditionalBoolGameActionHelper : ConditionalGameActionHelper<bool, BoolAction, BoolBoolFunction> { }
|
||
|
|
||
|
[CreateAssetMenu(menuName = "Unity Atoms/Bool/Conditional", fileName = "ConditionalBoolAction", order = CreateAssetMenuUtils.Order.CONDITIONAL)]
|
||
|
public class ConditionalBoolAction : BoolAction
|
||
|
{
|
||
|
[SerializeField]
|
||
|
private ConditionalBoolGameActionHelper Conditional = null;
|
||
|
|
||
|
public override void Do(bool t1)
|
||
|
{
|
||
|
Conditional.Do(t1);
|
||
|
}
|
||
|
}
|
||
|
}
|