Class RoomTemplateDiagnostics
Inheritance
System.Object
RoomTemplateDiagnostics
Assembly: cs.temp.dll.dll
Syntax
public static class RoomTemplateDiagnostics
Methods
CheckAll(GameObject)
Tries to compute a room template from a given game object and returns the result.
Declaration
public static ActionResult CheckAll(GameObject roomTemplate)
Parameters
Type |
Name |
Description |
GameObject |
roomTemplate |
|
Returns
CheckComponents(GameObject)
Checks that the room template has all the necessary components.
Declaration
public static ActionResult CheckComponents(GameObject roomTemplate)
Parameters
Type |
Name |
Description |
GameObject |
roomTemplate |
|
Returns
CheckDoors(GameObject)
Checks the doors of the room template.
Declaration
public static ActionResult CheckDoors(GameObject roomTemplate)
Parameters
Type |
Name |
Description |
GameObject |
roomTemplate |
|
Returns
CheckDoors(PolygonGrid2D, IDoorModeGrid2D, DoorsGrid2D.DoorMode)
Checks the doors of the room template.
Declaration
public static ActionResult CheckDoors(PolygonGrid2D outline, IDoorModeGrid2D doorMode, DoorsGrid2D.DoorMode selectedDoorMode)
Parameters
Type |
Name |
Description |
PolygonGrid2D |
outline |
|
IDoorModeGrid2D |
doorMode |
|
DoorsGrid2D.DoorMode |
selectedDoorMode |
|
Returns
CheckWrongManualDoors(GameObject, out Int32)
Declaration
public static ActionResult CheckWrongManualDoors(GameObject roomTemplate, out int differentLengthsCount)
Parameters
Type |
Name |
Description |
GameObject |
roomTemplate |
|
System.Int32 |
differentLengthsCount |
|
Returns
CheckWrongManualDoors(PolygonGrid2D, IDoorModeGrid2D, out Int32)
Declaration
public static ActionResult CheckWrongManualDoors(PolygonGrid2D outline, IDoorModeGrid2D doorMode, out int differentLengthsCount)
Parameters
Type |
Name |
Description |
PolygonGrid2D |
outline |
|
IDoorModeGrid2D |
doorMode |
|
System.Int32 |
differentLengthsCount |
|
Returns