Class BTTask_RunBehavior
RunBehavior task allows pushing subtrees on execution stack.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: UE4.AIModule
Assembly: UE4DotNet.dll
Syntax
public class BTTask_RunBehavior : BTTaskNode
Remarks
Subtree asset can't be changed in runtime!
This limitation is caused by support for subtree's root level decorators, which are injected into parent tree, and structure of running tree cannot be modified in runtime (see: BTNode: ExecutionIndex, MemoryOffset)
Use RunBehaviorDynamic task for subtrees that need to be changed in runtime.
Properties
| Improve this Doc View SourceBehaviorAsset
behavior to run
Declaration
public BehaviorTree BehaviorAsset { get; set; }
Property Value
Type | Description |
---|---|
BehaviorTree |
DefaultObject
Get UE4 Default Object for this Class
Declaration
public static BTTask_RunBehavior DefaultObject { get; }
Property Value
Type | Description |
---|---|
BTTask_RunBehavior |
StaticClass
Get UE4 Class
Declaration
public static Class StaticClass { get; }
Property Value
Type | Description |
---|---|
Class |
Methods
| Improve this Doc View SourceNew(UObject, Name)
Spawn an object of this class
Declaration
public static BTTask_RunBehavior New(UObject obj = null, Name name = default(Name))
Parameters
Type | Name | Description |
---|---|---|
UObject | obj | |
Name | name |
Returns
Type | Description |
---|---|
BTTask_RunBehavior |
Operators
| Improve this Doc View SourceImplicit(IntPtr to BTTask_RunBehavior)
Convert from IntPtr to UObject
Declaration
public static implicit operator BTTask_RunBehavior(IntPtr p)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | p |
Returns
Type | Description |
---|---|
BTTask_RunBehavior |