12 lines
373 B
C#
12 lines
373 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
[CreateAssetMenu(menuName = "CharacterStateMachine/Decisions/Interrupted")]
|
|
public class InterruptedDecision : Decision
|
|
{
|
|
public override bool Decide(StateController controller)
|
|
{
|
|
return controller.characterAnimator.GetTrigger(CharacterAnimator.Params.Interrupted);
|
|
}
|
|
}
|