uBAD
A Behaviour and Decision library for Unity3D
|
CBAD.Blackboard | |
CBAD.ComponentMethodLookup | |
▼CEditor | |
CBAD.BADReactorEditor | |
▼CEditorWindow | |
CBAD.BADViewerWindow | |
CBAD.IReactorLoad | |
▼CMonoBehaviour | |
CBAD.BADReactor | BAD reactor searches all components on the gameobject which implement IReactorLoad, then executes the graphs returned by those components. |
CBADTester | |
▼CBAD.Node | |
▼CBAD.Branch | |
▼CBAD.Decorator | |
CBAD.Chance | Only runs child if probability value is met. |
CBAD.Cooldown | Runs a child node if it's cooldown timer less than 0; When the child executes the timer is set to T+seconds. Used for rate limiting. |
CBAD.FlipFlop | Runs child every second time. |
CBAD.If | Runs it's child node if a System.Func<bool> method returns true. |
CBAD.Invert | Invert the result of the child. Success becomes Failure and vice versa. |
CBAD.Loop | Run a child a number of times, regardless of success or failure. Always succeeds. |
CBAD.Once | Runs child once then disables itself. |
CBAD.TimeLimit | Fails if child does not succeed within a time limit. |
CBAD.UntilFailure | Keep running the child until a failure result is returned. |
CBAD.UntilSuccess | Keep running the child node until a success result is returned. |
CBAD.WaitFor | Waits until a condition is true then executes its child. |
CBAD.WhileBoth | Executes its child while condition is true and the child has not failed. |
CBAD.MutatingSelector | A selector that re-orders it's children based on the mutation policy field. |
CBAD.Parallel | Run all nodes simultaneously, failing or succeeding based on the policy field. |
CBAD.Root | The root node which must sit at the top of the tree. |
▼CBAD.Selector | Runs each child in turn, returing a success on the first child that succeeds. Returns failure if no child succeeds. |
CBAD.RandomSelector | A selector which randomly shuffles it's children before executing. |
CBAD.Sequence | Run all child nodes, returning a failure on the first child that fails. Returns success if all children succeed. |
▼CBAD.Leaf | |
CBAD.Action | Execute a IEnumerator<NodeResult> coroutine. |
CBAD.BB | |
CBAD.Condition | Executes a System.Func<bool> method and returns the result as failure or success. |
CBAD.Log | Outputs some text to the console, and pauses the editor if pause == true. |
CBAD.Sleep | Sleep for a number of seconds before returning Success. Variance parameter modifies the duration by a random amount. |
CBAD.Parser | |
CBAD.Symbol | |
CBAD.Tokenizer |