Class DoorsGrid2D
Doors MonoBehaviour that is used to define doors for room templates.
Inheritance
System.Object
DoorsGrid2D
Implements
ISerializationCallbackReceiver
Assembly: cs.temp.dll.dll
Syntax
public class DoorsGrid2D : VersionedMonoBehaviour, ISerializationCallbackReceiver
Fields
DefaultDirection
Declaration
public DoorDirection DefaultDirection
Field Value
DefaultSocket
Declaration
public DoorSocketBase DefaultSocket
Field Value
DistanceFromCorners
Declaration
public int DistanceFromCorners
Field Value
Type |
Description |
System.Int32 |
|
DoorLength
Declaration
Field Value
Type |
Description |
System.Int32 |
|
DoorsList
Declaration
public List<DoorGrid2D> DoorsList
Field Value
Type |
Description |
System.Collections.Generic.List<DoorGrid2D> |
|
HybridDoorModeData
Declaration
public HybridDoorModeDataGrid2D HybridDoorModeData
Field Value
ManualDoorModeData
Declaration
public ManualDoorModeDataGrid2D ManualDoorModeData
Field Value
SelectedMode
Declaration
public DoorsGrid2D.DoorMode SelectedMode
Field Value
SimpleDoorModeData
Declaration
public SimpleDoorModeDataGrid2D SimpleDoorModeData
Field Value
Socket
Declaration
public DoorSocketBase Socket
Field Value
Methods
GetDoorMode()
Declaration
public IDoorModeGrid2D GetDoorMode()
Returns
Type |
Description |
IDoorModeGrid2D |
|
OnUpgradeSerializedData(Int32)
Declaration
protected override int OnUpgradeSerializedData(int version)
Parameters
Type |
Name |
Description |
System.Int32 |
version |
|
Returns
Type |
Description |
System.Int32 |
|
Overrides
Implements
ISerializationCallbackReceiver