C# Class GameManagerScript

Inheritance: MonoBehaviour
Show file Open project: BoolClub/ProjectCrusade Class Usage Examples

Public Properties

Property Type Description
Chests GameObject[]
CurrentFloor int
Enemies GameObject[]
FloorItemsHolder GameObject
ItemSprites Sprite[]
Items List
Npcs List
PauseOverlay GameObject
Paused bool
PriestNPC GameObject
Transitions TransitionManager
UsedStaff bool
goodNPC GameObject

Public Methods

Method Description
Awake ( ) : void
Start ( ) : void
Update ( ) : void

Method Details

Awake() public method

public Awake ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

Chests public property

The treasure chests that are in the game world.
public GameObject[] Chests
return GameObject[]

CurrentFloor public static property

The current floor that the player is on by its index in the array above.
public static int CurrentFloor
return int

Enemies public property

A list of all of the different types of enemies that could be spawned.
public GameObject[] Enemies
return GameObject[]

FloorItemsHolder public property

Floor items holder.
public GameObject FloorItemsHolder
return GameObject

ItemSprites public property

An array of sprites for each item.
public Sprite[] ItemSprites
return Sprite[]

Items public static property

The item sprites.
public static List Items
return List

Npcs public property

All of the NPCs in the game world.
public List Npcs
return List

PauseOverlay public property

The pause object
public GameObject PauseOverlay
return GameObject

Paused public property

Whether or not the game is paused.
public bool Paused
return bool

PriestNPC public property

The priest npc.
public GameObject PriestNPC
return GameObject

Transitions public property

The transitions.
public TransitionManager Transitions
return TransitionManager

UsedStaff public property

public bool UsedStaff
return bool

goodNPC public property

The good npc.
public GameObject goodNPC
return GameObject