⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    Class SwitchParameter

    Inheritance
    Object
    MotionGraphParameter
    SwitchParameter
    Implements
    IMotionGraphElement
    Inherited Members
    MotionGraphParameter.CheckReferences(IMotionGraphMap)
    Namespace: NeoFPS.CharacterMotion.Parameters
    Assembly: NeoFPS.dll
    Syntax
    [MotionGraphElement("Switch", "My Switch")]
    public class SwitchParameter : MotionGraphParameter, IMotionGraphElement

    Fields

    onValueChanged

    Declaration
    public UnityAction<bool> onValueChanged
    Field Value
    Type Description
    UnityAction<System.Boolean>

    Properties

    on

    Declaration
    public bool on { get; set; }
    Property Value
    Type Description
    System.Boolean

    Methods

    AddBlocker()

    Declaration
    public void AddBlocker()

    Hold(Boolean)

    Declaration
    public void Hold(bool hold = true)
    Parameters
    Type Name Description
    System.Boolean hold

    RemoveBlocker()

    Declaration
    public void RemoveBlocker()

    ResetValue()

    Declaration
    public override void ResetValue()
    Overrides
    MotionGraphParameter.ResetValue()

    SetInput(Boolean, Boolean)

    Declaration
    public void SetInput(bool toggle, bool hold)
    Parameters
    Type Name Description
    System.Boolean toggle
    System.Boolean hold

    Toggle()

    Declaration
    public void Toggle()

    Implements

    IMotionGraphElement
    Back to top Copyright © 2019 Yondernauts Game Studios Ltd
    Generated with DocFX