Class DoorBase
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()
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
Methods
Close()
Declaration
Declaration
public virtual bool IsTransformInFrontOfDoor(Transform t)
Parameters
| Type |
Name |
Description |
| Transform |
t |
|
Returns
| Type |
Description |
| System.Boolean |
|
Lock()
Declaration
LockSilent()
Declaration
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
Unlock()
Declaration
UnlockSilent()
Declaration
public void UnlockSilent()
WriteProperties(INeoSerializer, NeoSerializedGameObject, SaveMode)
Declaration
public virtual void WriteProperties(INeoSerializer writer, NeoSerializedGameObject nsgo, SaveMode saveMode)
Parameters
Events
onIsLockedChanged
Declaration
public event UnityAction onIsLockedChanged
Event Type
| Type |
Description |
| UnityAction |
|
Implements