Class StateData
Defines the set of AI states and the AI can be in. This data is used by StateMachine at runtime.
Inherited Members
Object.Destroy(Object)
Object.DestroyImmediate(Object)
Object.DestroyObject(Object)
Namespace: LobsterFramework.AI
Assembly: LobsterFramework.dll
Syntax
[CreateAssetMenu(menuName = "StateMachine/StateData")]
public class StateData : ReferenceRequester, IEnumerable<Type>, IEnumerable
Methods
| Improve this Doc View SourceClone()
Produce a copy of this state data
Declaration
public StateData Clone()
Returns
Type | Description |
---|---|
StateData | The copied state data that contains a copy of all states |
GetRequestingTypes()
Implement this to expose the set of types with RequireComponentReferenceAttribute applied within the data container,
Declaration
public override IEnumerator<Type> GetRequestingTypes()
Returns
Type | Description |
---|---|
IEnumerator<Type> | The set of requester types this data container has |