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