⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    Class NeoFpsTimeScale

    Inheritance
    Object
    MonoBehaviour
    NeoFpsTimeScale
    Implements
    INeoSerializableComponent
    Inherited Members
    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 NeoFpsTimeScale : MonoBehaviour, INeoSerializableComponent

    Properties

    isPaused

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

    timeScale

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

    Methods

    FreezeTime()

    Declaration
    public static void FreezeTime()

    ReadProperties(INeoDeserializer, NeoSerializedGameObject)

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

    ResumeTime()

    Declaration
    public static void ResumeTime()

    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

    onPauseTime

    Declaration
    public static event UnityAction onPauseTime
    Event Type
    Type Description
    UnityAction

    onResumeTime

    Declaration
    public static event UnityAction onResumeTime
    Event Type
    Type Description
    UnityAction

    onTimeScaleChanged

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

    Implements

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