The Behaviour type exposes the following members.
Constructors
Methods
Name | Description | |
---|---|---|
![]() | AlwaysRun |
Convenience function. Set ShouldRun = AlwaysRun to make
the behaviour always run.
|
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | (Inherited from Object.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | NeverRun |
Convenience function. Set ShouldRun = NeverRun to make
it so the behaviour never runs.
|
![]() | OnStop |
Method that is called when this behaviour stops. This can be
because the Run method finishes, or behaviour was stopped by
another behaviour.
|
![]() | Run |
The method that defines what this behaviour actually does.
|
![]() | Sleep |
Causes this behaviour to pause for the specified number of seconds.
|
![]() | ToString | (Inherited from Object.) |
![]() | WaitFor<(Of <<'(T>)>>)()()()() | |
![]() | WaitFor<(Of <<'(T>)>>)(Double) | |
![]() | WaitFor<(Of <<'(T>)>>)(Func<(Of <<'(T, Boolean>)>>)) | |
![]() | WaitFor<(Of <<'(T>)>>)(Func<(Of <<'(T, Boolean>)>>), Double) |
Fields
Name | Description | |
---|---|---|
![]() | npc |
Properties
Name | Description | |
---|---|---|
![]() | Parent |
Gets or sets the parent.
|
![]() | ShouldRun |
Function that determines whether or not this behaviour should run.
|