⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    Class PeekVertical

    Inheritance
    Object
    MonoBehaviour
    PeekVertical
    Implements
    IAdditiveTransform
    IMonoBehaviour
    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 PeekVertical : MonoBehaviour, IAdditiveTransform, IMonoBehaviour, INeoSerializableComponent

    Properties

    bypassPositionMultiplier

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

    bypassRotationMultiplier

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

    currentPeek

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

    position

    Declaration
    public Vector3 position { get; }
    Property Value
    Type Description
    Vector3

    rotation

    Declaration
    public Quaternion rotation { get; }
    Property Value
    Type Description
    Quaternion

    targetPeek

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

    Methods

    Awake()

    Declaration
    protected void Awake()

    OnDisable()

    Declaration
    protected void OnDisable()

    OnEnable()

    Declaration
    protected void OnEnable()

    OnValidate()

    Declaration
    protected void OnValidate()

    ReadProperties(INeoDeserializer, NeoSerializedGameObject)

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

    ResetPeek()

    Declaration
    public void ResetPeek()

    SetPeek(Single)

    Declaration
    public void SetPeek(float amount)
    Parameters
    Type Name Description
    System.Single amount

    Start()

    Declaration
    protected void Start()

    UpdateTransform()

    Declaration
    public void UpdateTransform()

    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

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