Class ElevatorController
Implements
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 ElevatorController : MonoBehaviour, INeoSerializableComponent
Properties
currentFloorIndex
Declaration
public int currentFloorIndex { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
currentFloorProgress
Declaration
public float currentFloorProgress { get; }
Property Value
| Type | Description |
|---|---|
| System.Single |
floorHeight
Declaration
public float floorHeight { get; }
Property Value
| Type | Description |
|---|---|
| System.Single |
Methods
OnValidate()
Declaration
protected void OnValidate()
PressFloorButton(Int32)
Declaration
public void PressFloorButton(int floorIndex)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | floorIndex |
ReadProperties(INeoDeserializer, NeoSerializedGameObject)
Declaration
public void ReadProperties(INeoDeserializer reader, NeoSerializedGameObject nsgo)
Parameters
| Type | Name | Description |
|---|---|---|
| INeoDeserializer | reader | |
| NeoSerializedGameObject | nsgo |
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 |