Show / Hide Table of Contents

Class GungeonRoomManager

Inheritance
System.Object
GungeonRoomManager
Namespace: Edgar.Unity.Examples.Gungeon
Assembly: cs.temp.dll.dll
Syntax
public class GungeonRoomManager : MonoBehaviour

Fields

Cleared

Whether the room was cleared from all the enemies.

Declaration
public bool Cleared
Field Value
Type Description
System.Boolean

Doors

Doors of neighboring corridors.

Declaration
public List<GameObject> Doors
Field Value
Type Description
System.Collections.Generic.List<GameObject>

Enemies

Enemies that can spawn inside the room.

Declaration
public GameObject[] Enemies
Field Value
Type Description
GameObject[]

EnemiesSpawned

Whether enemies were spawned.

Declaration
public bool EnemiesSpawned
Field Value
Type Description
System.Boolean

FloorCollider

Collider of the floor tilemap layer.

Declaration
public Collider2D FloorCollider
Field Value
Type Description
Collider2D

Visited

Whether the room was visited by the player.

Declaration
public bool Visited
Field Value
Type Description
System.Boolean

Methods

OnRoomEnter(GameObject)

Declaration
public void OnRoomEnter(GameObject player)
Parameters
Type Name Description
GameObject player

OnRoomLeave(GameObject)

Declaration
public void OnRoomLeave(GameObject player)
Parameters
Type Name Description
GameObject player

Start()

Declaration
public void Start()
In This Article
Back to top Generated by DocFX