Class TriggerChannelData
Serializable data about Channels in ability triggers.
Inheritance
object
TriggerChannelData
Assembly: Dew.Core.dll
Syntax
[Serializable]
public class TriggerChannelData
Fields
blockedActions
Declaration
[HorizontalGroup("A", 0, 0, 0, 0)]
[HideLabel]
[DisableIf("@duration <= 0f")]
public Channel.BlockedAction blockedActions
Field Value
duration
Declaration
[HorizontalGroup("A", 0, 0, 0, 0)]
[LabelText("Channel Duration")]
public float duration
Field Value
Methods
CreateChannel(Action, Action, IEntityValidator, Entity, IBinaryEntityValidator)
Create a channel out of this data.
Declaration
public Channel CreateChannel(Action onComplete, Action onCancel, IEntityValidator selfValidator, Entity target, IBinaryEntityValidator targetValidator)
Parameters
Returns
CreateChannel(Action, Action, IEntityValidator)
Create a channel out of this data.
Declaration
public Channel CreateChannel(Action onComplete, Action onCancel, IEntityValidator selfValidator)
Parameters
| Type |
Name |
Description |
| System.Action |
onComplete |
|
| System.Action |
onCancel |
|
| IEntityValidator |
selfValidator |
|
Returns