You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
685 B
C#
20 lines
685 B
C#
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;
|
|
}
|
|
} |