Show / Hide Table of Contents

Class LevelInfoBase<TRoomInstance>

This component contains information about a generated level.

Inheritance
System.Object
LevelInfoBase<TRoomInstance>
LevelInfoGrid2D
LevelInfoGrid3D
Namespace: Edgar.Unity
Assembly: cs.temp.dll.dll
Syntax
public abstract class LevelInfoBase<TRoomInstance> : MonoBehaviour
Type Parameters
Name Description
TRoomInstance
Remarks

The component is attached to the root game object of the generated level after it is generated.

Example usage: After a level is generated and you need to get all the rooms in the level, you can access this component to get the information.

Fields

RoomInstances

Room instances of all the rooms in the level.

Declaration
public List<TRoomInstance> RoomInstances
Field Value
Type Description
System.Collections.Generic.List<TRoomInstance>
In This Article
Back to top Generated by DocFX