Class GameplayTask
Gameplay Task
Inheritance
System.Object
GameplayTask
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.GameplayTasks
Assembly: UE4DotNet.dll
Syntax
public class GameplayTask : UObject
Properties
| Improve this Doc View SourceChildTask
child task instance
Declaration
public GameplayTask ChildTask { get; set; }
Property Value
Type | Description |
---|---|
GameplayTask |
DefaultObject
Get UE4 Default Object for this Class
Declaration
public static GameplayTask DefaultObject { get; }
Property Value
Type | Description |
---|---|
GameplayTask |
InstanceName
This name allows us to find the task later so that we can end it.
Declaration
public Name InstanceName { get; set; }
Property Value
Type | Description |
---|---|
Name |
StaticClass
Get UE4 Class
Declaration
public static Class StaticClass { get; }
Property Value
Type | Description |
---|---|
Class |
Methods
| Improve this Doc View SourceEndTask()
Called explicitly to end the task (usually by the task itself).
Declaration
public void EndTask()
Remarks
Calls OnDestroy. @NOTE: you need to call EndTask before sending out any "on completed" delegates. If you don't the task will still be in an "active" state while the event receivers may assume it's already "finished"
New(UObject, Name)
Spawn an object of this class
Declaration
public static GameplayTask New(UObject obj = null, Name name = default(Name))
Parameters
Type | Name | Description |
---|---|---|
UObject | obj | |
Name | name |
Returns
Type | Description |
---|---|
GameplayTask |
ReadyForActivation()
Called to trigger the actual task once the delegates have been set up
Declaration
public void ReadyForActivation()
Operators
| Improve this Doc View SourceImplicit(IntPtr to GameplayTask)
Convert from IntPtr to UObject
Declaration
public static implicit operator GameplayTask(IntPtr p)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | p |
Returns
Type | Description |
---|---|
GameplayTask |