Added Feel plugin
This commit is contained in:
23
Assets/External/Feel/MMTools/Foundation/MMAI/AITransition.cs
vendored
Normal file
23
Assets/External/Feel/MMTools/Foundation/MMAI/AITransition.cs
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
namespace MoreMountains.Tools
|
||||
{
|
||||
/// <summary>
|
||||
/// Transitions are a combination of one or more decisions and destination states whether or not these transitions are true or false. An example of a transition could be "_if an enemy gets in range, transition to the Shooting state_".
|
||||
/// </summary>
|
||||
[System.Serializable]
|
||||
public class AITransition
|
||||
{
|
||||
/// this transition's decision
|
||||
public AIDecision Decision;
|
||||
/// the state to transition to if this Decision returns true
|
||||
public string TrueState;
|
||||
/// the state to transition to if this Decision returns false
|
||||
public string FalseState;
|
||||
/// the value of the last decision evaluation for this transition, for debug purposes
|
||||
[MMReadOnly]
|
||||
public bool LastDecisionEvaluation = false;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user