uBAD
A Behaviour and Decision library for Unity3D
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Pages
Classes | Enumerations
Package BAD

Classes

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

Enumerations

enum  MutationPolicy { MutationPolicy.MoveToTop, MutationPolicy.MoveToBottom }
 
enum  NodeResult { NodeResult.Failure, NodeResult.Success, NodeResult.Continue }
 
enum  ParallelPolicy { ParallelPolicy.FailIfOneFails, ParallelPolicy.SucceedIfOneSucceeds }
 

Enumeration Type Documentation

Enumerator
MoveToTop 
MoveToBottom 
Enumerator
Failure 
Success 
Continue 
Enumerator
FailIfOneFails 
SucceedIfOneSucceeds