⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    Class AbilityBasedSlowMoSystem

    Inheritance
    Object
    MonoBehaviour
    FpsInputBase
    FpsInput
    CharacterInputBase
    AbilityBasedSlowMoSystem
    Implements
    ISlowMoSystem
    INeoSerializableComponent
    Inherited Members
    CharacterInputBase.m_Character
    CharacterInputBase.allowMoveInput
    CharacterInputBase.allowLookInput
    CharacterInputBase.allowWeaponInput
    CharacterInputBase.inputContext
    CharacterInputBase.OnEnable()
    FpsInput.isInputActive
    FpsInput.GetAxis(FpsInputAxis)
    FpsInput.GetAxisRaw(FpsInputAxis)
    FpsInput.GetButton(FpsInputButton)
    FpsInput.GetButtonDown(FpsInputButton)
    FpsInput.GetButtonUp(FpsInputButton)
    FpsInputBase.currentContext
    FpsInputBase.hasFocus
    FpsInputBase.gainedFocusThisFrame
    FpsInputBase.Awake()
    FpsInputBase.Start()
    FpsInputBase.OnDisable()
    FpsInputBase.PushContext()
    FpsInputBase.PopContext()
    FpsInputBase.OnGainFocus()
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: NeoFPS
    Assembly: NeoFPS.dll
    Syntax
    public class AbilityBasedSlowMoSystem : CharacterInputBase, ISlowMoSystem, INeoSerializableComponent

    Properties

    charge

    Declaration
    public float charge { get; set; }
    Property Value
    Type Description
    System.Single

    isTimeScaled

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

    Methods

    OnAwake()

    Declaration
    protected override void OnAwake()
    Overrides
    CharacterInputBase.OnAwake()

    OnDestroy()

    Declaration
    protected override void OnDestroy()
    Overrides
    CharacterInputBase.OnDestroy()

    OnLoseFocus()

    Declaration
    protected override void OnLoseFocus()
    Overrides
    FpsInputBase.OnLoseFocus()

    OnValidate()

    Declaration
    protected void OnValidate()

    ReadProperties(INeoDeserializer, NeoSerializedGameObject)

    Declaration
    public void ReadProperties(INeoDeserializer reader, NeoSerializedGameObject nsgo)
    Parameters
    Type Name Description
    INeoDeserializer reader
    NeoSerializedGameObject nsgo

    ResetTimescale()

    Declaration
    public void ResetTimescale()

    SetTimeScale(Single, Single)

    Declaration
    public void SetTimeScale(float ts, float drainRate = 0F)
    Parameters
    Type Name Description
    System.Single ts
    System.Single drainRate

    Update()

    Declaration
    protected override void Update()
    Overrides
    FpsInputBase.Update()

    UpdateInput()

    Declaration
    protected override void UpdateInput()
    Overrides
    FpsInputBase.UpdateInput()

    WriteProperties(INeoSerializer, NeoSerializedGameObject, SaveMode)

    Declaration
    public void WriteProperties(INeoSerializer writer, NeoSerializedGameObject nsgo, SaveMode saveMode)
    Parameters
    Type Name Description
    INeoSerializer writer
    NeoSerializedGameObject nsgo
    SaveMode saveMode

    Events

    onChargeChanged

    Declaration
    public event UnityAction<float> onChargeChanged
    Event Type
    Type Description
    UnityAction<System.Single>

    Implements

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