Search Results for

    Show / Hide Table of Contents

    Class TriggerChannelData

    Serializable data about Channels in ability triggers.

    Inheritance
    object
    TriggerChannelData
    Namespace: Global
    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
    Type Description
    Channel.BlockedAction

    duration

    Declaration
    [HorizontalGroup("A", 0, 0, 0, 0)]
    [LabelText("Channel Duration")]
    public float duration
    Field Value
    Type Description
    float

    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
    Type Name Description
    System.Action onComplete
    System.Action onCancel
    IEntityValidator selfValidator
    Entity target
    IBinaryEntityValidator targetValidator
    Returns
    Type Description
    Channel

    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
    Type Description
    Channel
    In This Article
    Back to top Shape of Dreams API Documentation