IsIdle Class

Summary

A PlatformerGameKit.BehaviourTrees.ConditionNode which checks if the character is in their PlatformerGameKit.Characters.Character.Idle state.
Assembly
PlatformerGameKit.dll
Namespace
PlatformerGameKit.BehaviourTrees
Interfaces
Base Types
IsIdle
Object
IPolymorphic

Syntax

[Serializable]
public class IsIdle : ConditionNode, IBehaviourNode, IPolymorphic

Remarks

Documentation: Behaviour Tree Brains - Conditions

Attributes

Type Description
SerializableAttribute

Properties

Name Value Summary
Condition bool
Called by PlatformerGameKit.BehaviourTrees.ConditionNode.Execute to run this node's main logic. true returns PlatformerGameKit.BehaviourTrees.Result.Pass and false returns PlatformerGameKit.BehaviourTrees.Result.Fail.

Methods

Name Value Summary
Execute() Result
Accesses the PlatformerGameKit.BehaviourTrees.ConditionNode.Condition and calls PlatformerGameKit.BehaviourTrees.BehaviourTreeUtilities.ToResult(System.Boolean).
Inherited from ConditionNode