Class ManualDoorModeInspectorBase
Inheritance
System.Object
ManualDoorModeInspectorBase
Assembly: cs.temp.dll.dll
Syntax
public abstract class ManualDoorModeInspectorBase : IDoorModeInspector
Constructors
ManualDoorModeInspectorBase(SerializedObject, DoorsGrid2D, SerializedProperty)
Declaration
protected ManualDoorModeInspectorBase(SerializedObject serializedObject, DoorsGrid2D doors, SerializedProperty serializedProperty)
Parameters
| Type |
Name |
Description |
| SerializedObject |
serializedObject |
|
| DoorsGrid2D |
doors |
|
| SerializedProperty |
serializedProperty |
|
Fields
doors
Declaration
protected readonly DoorsGrid2D doors
Field Value
serializedObject
Declaration
protected readonly SerializedObject serializedObject
Field Value
| Type |
Description |
| SerializedObject |
|
serializedProperty
Declaration
protected readonly SerializedProperty serializedProperty
Field Value
| Type |
Description |
| SerializedProperty |
|
Methods
AddDoor(Vector3Int, Vector3Int)
Declaration
protected abstract void AddDoor(Vector3Int from, Vector3Int to)
Parameters
| Type |
Name |
Description |
| Vector3Int |
from |
|
| Vector3Int |
to |
|
DeleteAllDoors()
Declaration
protected abstract void DeleteAllDoors()
DrawAllDoors()
Declaration
protected abstract void DrawAllDoors()
DrawPreview(Vector3Int, Vector3Int)
Declaration
protected abstract void DrawPreview(Vector3Int from, Vector3Int to)
Parameters
| Type |
Name |
Description |
| Vector3Int |
from |
|
| Vector3Int |
to |
|
GetDoorsListProperty()
Declaration
protected abstract SerializedProperty GetDoorsListProperty()
Returns
| Type |
Description |
| SerializedProperty |
|
OnInspectorGUI()
Declaration
public virtual void OnInspectorGUI()
OnSceneGUI()
Declaration
RemoveDoor(Vector3Int)
Declaration
protected abstract void RemoveDoor(Vector3Int position)
Parameters
| Type |
Name |
Description |
| Vector3Int |
position |
|
ShowAdditionalFields()
Declaration
protected virtual void ShowAdditionalFields()
Implements