Class LevelGraph
Represents a level graph.
Inheritance
System.Object
LevelGraph
Namespace: Edgar.Unity
Assembly: cs.temp.dll.dll
Syntax
public class LevelGraph : ScriptableObject
Fields
Connections
List of connections in the graph.
Declaration
public List<ConnectionBase> Connections
Field Value
Type | Description |
---|---|
System.Collections.Generic.List<ConnectionBase> |
ConnectionType
Declaration
public string ConnectionType
Field Value
Type | Description |
---|---|
System.String |
CorridorIndividualRoomTemplates
Set of room templates that are used for corridor rooms.
Declaration
public List<GameObject> CorridorIndividualRoomTemplates
Field Value
Type | Description |
---|---|
System.Collections.Generic.List<GameObject> |
CorridorRoomTemplateSets
Sets of corridor room templates.
Declaration
public List<RoomTemplatesSet> CorridorRoomTemplateSets
Field Value
Type | Description |
---|---|
System.Collections.Generic.List<RoomTemplatesSet> |
DefaultIndividualRoomTemplates
Set of room templates that is used for room that do not have any room templates assigned.
Declaration
public List<GameObject> DefaultIndividualRoomTemplates
Field Value
Type | Description |
---|---|
System.Collections.Generic.List<GameObject> |
DefaultRoomTemplateSets
Sets of default room templates.
Declaration
public List<RoomTemplatesSet> DefaultRoomTemplateSets
Field Value
Type | Description |
---|---|
System.Collections.Generic.List<RoomTemplatesSet> |
EditorData
Editor data like zoom, etc.
Declaration
public LevelGraphEditorData EditorData
Field Value
Type | Description |
---|---|
LevelGraphEditorData |
IsDirected
Declaration
public bool IsDirected
Field Value
Type | Description |
---|---|
System.Boolean |
Rooms
List of rooms in the graph.
Declaration
public List<RoomBase> Rooms
Field Value
Type | Description |
---|---|
System.Collections.Generic.List<RoomBase> |
RoomType
Declaration
public string RoomType
Field Value
Type | Description |
---|---|
System.String |
Properties
HasChanges
Helper static property to indicate that a level graph was changed (e.g. a name of one of the rooms changed). This field is used to indicate that the Graph editor window should repaint.
Declaration
public static bool HasChanges { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |