This repository has been archived on 2025-04-11. You can view files and clone it, but cannot push or open issues or pull requests.
project-undercover/Project Undercover/Assets/Scripts/CharacterStateMachine/DecisionScripts/IsInteractingDecision.cs

12 lines
No EOL
323 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu(menuName = "CharacterStateMachine/Decisions/IsInteracting")]
public class IsInteractingDecision : Decision
{
public override bool Decide(StateController controller)
{
return controller.IsInteracting;
}
}