⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    Class DoorBase

    Inheritance
    Object
    MonoBehaviour
    DoorBase
    KinematicHingeDoor
    KinematicHingeDoubleDoor
    PhysicsHingeDoor
    SlidingDoor
    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 abstract class DoorBase : MonoBehaviour, INeoSerializableComponent

    Properties

    isLocked

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

    normalisedOpen

    Declaration
    public abstract float normalisedOpen { get; protected set; }
    Property Value
    Type Description
    System.Single

    occlusionPortal

    Declaration
    public OcclusionPortal occlusionPortal { get; }
    Property Value
    Type Description
    OcclusionPortal

    reversible

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

    state

    Declaration
    public DoorState state { get; protected set; }
    Property Value
    Type Description
    DoorState

    Methods

    Close()

    Declaration
    public void Close()

    IsTransformInFrontOfDoor(Transform)

    Declaration
    public virtual bool IsTransformInFrontOfDoor(Transform t)
    Parameters
    Type Name Description
    Transform t
    Returns
    Type Description
    System.Boolean

    Lock()

    Declaration
    public void Lock()

    LockSilent()

    Declaration
    public void LockSilent()

    OnClose()

    Declaration
    protected abstract void OnClose()

    OnLockedStateChanged(Boolean)

    Declaration
    protected abstract void OnLockedStateChanged(bool locked)
    Parameters
    Type Name Description
    System.Boolean locked

    OnOpen(Boolean)

    Declaration
    protected abstract void OnOpen(bool reverse)
    Parameters
    Type Name Description
    System.Boolean reverse

    OnTryOpenLocked()

    Declaration
    protected abstract void OnTryOpenLocked()

    Open(Boolean)

    Declaration
    public void Open(bool reverse = false)
    Parameters
    Type Name Description
    System.Boolean reverse

    ReadProperties(INeoDeserializer, NeoSerializedGameObject)

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

    Unlock()

    Declaration
    public void Unlock()

    UnlockSilent()

    Declaration
    public void UnlockSilent()

    WriteProperties(INeoSerializer, NeoSerializedGameObject, SaveMode)

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

    Events

    onIsLockedChanged

    Declaration
    public event UnityAction onIsLockedChanged
    Event Type
    Type Description
    UnityAction

    Implements

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