⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    Class HolographicSight

    Inheritance
    Object
    MonoBehaviour
    HolographicSight
    Implements
    IOpticsBrightnessControl
    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 HolographicSight : MonoBehaviour, IOpticsBrightnessControl, INeoSerializableComponent

    Properties

    brightness

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

    reticuleColor

    Declaration
    public Color reticuleColor { get; set; }
    Property Value
    Type Description
    Color

    reticuleMaterial

    Declaration
    public Material reticuleMaterial { get; set; }
    Property Value
    Type Description
    Material

    Methods

    Awake()

    Declaration
    protected void Awake()

    DecrementBrightness(Boolean)

    Declaration
    public void DecrementBrightness(bool looping = false)
    Parameters
    Type Name Description
    System.Boolean looping

    IncrementBrightness(Boolean)

    Declaration
    public void IncrementBrightness(bool looping = false)
    Parameters
    Type Name Description
    System.Boolean looping

    OnValidate()

    Declaration
    protected void OnValidate()

    ReadProperties(INeoDeserializer, NeoSerializedGameObject)

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

    SetBrightness(Int32)

    Declaration
    public void SetBrightness(int index)
    Parameters
    Type Name Description
    System.Int32 index

    Start()

    Declaration
    protected void Start()

    WriteProperties(INeoSerializer, NeoSerializedGameObject, SaveMode)

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

    Implements

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