C# Class GameManagerScript

Inheritance: MonoBehaviour
显示文件 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_oe property

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

CurrentFloor public_oe static_oe property

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

Enemies public_oe property

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

FloorItemsHolder public_oe property

Floor items holder.
public GameObject FloorItemsHolder
return GameObject

ItemSprites public_oe property

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

Items public_oe static_oe property

The item sprites.
public static List Items
return List

Npcs public_oe property

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

PauseOverlay public_oe property

The pause object
public GameObject PauseOverlay
return GameObject

Paused public_oe property

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

PriestNPC public_oe property

The priest npc.
public GameObject PriestNPC
return GameObject

Transitions public_oe property

The transitions.
public TransitionManager Transitions
return TransitionManager

UsedStaff public_oe property

public bool UsedStaff
return bool

goodNPC public_oe property

The good npc.
public GameObject goodNPC
return GameObject