⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    Class FirearmOverheat

    Inheritance
    Object
    MonoBehaviour
    FirearmOverheat
    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 FirearmOverheat : MonoBehaviour, INeoSerializableComponent

    Properties

    canOverheat

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

    coolingThreshold

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

    heat

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

    overheated

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

    Methods

    Awake()

    Declaration
    protected void Awake()

    FixedUpdate()

    Declaration
    protected void FixedUpdate()

    OnCooledToThreshold()

    Declaration
    protected virtual void OnCooledToThreshold()

    OnDestroy()

    Declaration
    protected void OnDestroy()

    OnOverheated()

    Declaration
    protected virtual void OnOverheated()

    OnValidate()

    Declaration
    protected void OnValidate()

    ReadProperties(INeoDeserializer, NeoSerializedGameObject)

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

    SetHeat(Single)

    Declaration
    public void SetHeat(float h)
    Parameters
    Type Name Description
    System.Single h

    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

    onHeatValueChanged

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

    onOverheat

    Declaration
    public event UnityAction onOverheat
    Event Type
    Type Description
    UnityAction

    Implements

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