Summary
A
PlatformerGameKit.Characters.Brains.CharacterBrain
that uses a behaviour tree.- Assembly
- PlatformerGameKit
.dll - Namespace
- PlatformerGameKit
.Characters .Brains - Base Types
-
- MonoBehaviour
- CharacterBrain
graph BT
Type-->Base0["CharacterBrain"]
click Base0 "/platformer/api/PlatformerGameKit.Characters.Brains/CharacterBrain"
Base0-->Base1["MonoBehaviour"]
Type["BehaviourTreeBrain"]
class Type type-node
Syntax
[AddComponentMenu(MenuPrefix + "Behaviour Tree Brain")]
[PlatformerHelpUrl(typeof(BehaviourTreeBrain))]
public class BehaviourTreeBrain : CharacterBrain
Remarks
Documentation:
Behaviour Tree Brain
Attributes
Type | Description |
---|---|
AddComponentMenu | |
Platformer |
[Assert-Conditional]
A UnityEngine.HelpURLAttribute which points to Platformer Game Kit's documentation.
|
Fields
Name | Constant Value | Summary |
---|---|---|
Default |
-10000 |
Run inputs before everything else.
Inherited from CharacterBrain
static
|
MenuPrefix | Platformer Game Kit/Characters/Brains/ |
The menu prefix for
UnityEngine.AddComponentMenu .Inherited from CharacterBrain
static
|
Properties
Name | Value | Summary |
---|---|---|
Character | Character |
The
PlatformerGameKit.Characters.Character this brain is controlling.Inherited from CharacterBrain
|
Methods
Name | Value | Summary |
---|---|---|
Awake |
void |
Executes the
PlatformerGameKit.Characters.Brains.BehaviourTreeBrain._OnAwake behaviour tree. |
FixedUpdate |
void |
Executes the
PlatformerGameKit.Characters.Brains.BehaviourTreeBrain._OnFixedUpdate behaviour tree. |
OnValidate |
void |
[Editor-Only] Ensures that all fields have valid values and finds missing components nearby.
Inherited from CharacterBrain
|
Reset |
void |
[Editor-Only] Initializes default values for the fields.
|