⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    Class NeoFpsInputManagerBase

    Inheritance
    Object
    NeoFpsManagerBase
    NeoFpsManager<NeoFpsInputManagerBase>
    NeoFpsInputManagerBase
    NeoFpsInputManager
    NeoFpsNewInputManager
    Inherited Members
    NeoFpsManager<NeoFpsInputManagerBase>.instance
    NeoFpsManager<NeoFpsInputManagerBase>.GetInstance(String, Boolean)
    NeoFpsManager<NeoFpsInputManagerBase>.GetBehaviourProxy<B>()
    NeoFpsManagerBase.GetSharedGameobject()
    NeoFpsManagerBase.DisableRuntimeManagers()
    NeoFpsManagerBase.EnableRuntimeManagers()
    Namespace: NeoFPS
    Assembly: NeoFPS.dll
    Syntax
    public abstract class NeoFpsInputManagerBase : NeoFpsManager<NeoFpsInputManagerBase>

    Properties

    captureMouseCursor

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

    connectedGamepad

    Declaration
    public static string connectedGamepad { get; }
    Property Value
    Type Description
    System.String

    isGamepadConnected

    Declaration
    public static bool isGamepadConnected { get; }
    Property Value
    Type Description
    System.Boolean

    numGamepadProfiles

    Declaration
    public static int numGamepadProfiles { get; }
    Property Value
    Type Description
    System.Int32

    showError

    Declaration
    public virtual bool showError { get; }
    Property Value
    Type Description
    System.Boolean

    showWarning

    Declaration
    public virtual bool showWarning { get; }
    Property Value
    Type Description
    System.Boolean

    wasCancelPressedThisFrame

    Declaration
    public static bool wasCancelPressedThisFrame { get; }
    Property Value
    Type Description
    System.Boolean

    Methods

    CheckForCancelInput()

    Declaration
    protected abstract bool CheckForCancelInput()
    Returns
    Type Description
    System.Boolean

    CheckForEscapeInput()

    Declaration
    protected abstract bool CheckForEscapeInput()
    Returns
    Type Description
    System.Boolean

    GetConnectedGamepad()

    Declaration
    protected abstract string GetConnectedGamepad()
    Returns
    Type Description
    System.String

    GetGamepadProfileName(Int32)

    Declaration
    public static string GetGamepadProfileName(int index)
    Parameters
    Type Name Description
    System.Int32 index
    Returns
    Type Description
    System.String

    GetGamepadProfileNameInteral(Int32)

    Declaration
    protected abstract string GetGamepadProfileNameInteral(int index)
    Parameters
    Type Name Description
    System.Int32 index
    Returns
    Type Description
    System.String

    GetIsGamepadConnected()

    Declaration
    protected abstract bool GetIsGamepadConnected()
    Returns
    Type Description
    System.Boolean

    GetNumGamepadProfiles()

    Declaration
    protected abstract int GetNumGamepadProfiles()
    Returns
    Type Description
    System.Int32

    HandleEscape()

    Declaration
    protected void HandleEscape()

    Initialise()

    Declaration
    protected override void Initialise()
    Overrides
    NeoFPS.NeoFpsManager<NeoFPS.NeoFpsInputManagerBase>.Initialise()

    IsValid()

    Declaration
    public override bool IsValid()
    Returns
    Type Description
    System.Boolean
    Overrides
    NeoFpsManagerBase.IsValid()

    OnDestroy()

    Declaration
    protected override void OnDestroy()
    Overrides
    NeoFPS.NeoFpsManager<NeoFPS.NeoFpsInputManagerBase>.OnDestroy()

    OnGamepadConnectedChanged(Boolean)

    Declaration
    protected void OnGamepadConnectedChanged(bool connected)
    Parameters
    Type Name Description
    System.Boolean connected

    PopEscapeHandler(UnityAction)

    Declaration
    public static void PopEscapeHandler(UnityAction handler)
    Parameters
    Type Name Description
    UnityAction handler

    PushEscapeHandler(UnityAction)

    Declaration
    public static void PushEscapeHandler(UnityAction handler)
    Parameters
    Type Name Description
    UnityAction handler

    Events

    onIsGamepadConnectedChanged

    Declaration
    public static event UnityAction<bool> onIsGamepadConnectedChanged
    Event Type
    Type Description
    UnityAction<System.Boolean>
    Back to top Copyright © 2019 Yondernauts Game Studios Ltd
    Generated with DocFX