C# Class TreeController

Inheritance: MonoBehaviour
Show file Open project: mezosaurus/eae-project Class Usage Examples

Public Properties

Property Type Description
Prefabs Tree.Prefabs
Sounds Tree.Sounds
Speed float
Textures Tree.Textures
state Tree.State

Public Methods

Method Description
OnGUI ( ) : void
UpdateSorting ( ) : void

Protected Methods

Method Description
GameUpdate ( ) : void

Private Methods

Method Description
ChangeStateToAxeManMinigame ( GameObject NPC, int thePhaseTime ) : void
ChangeStateToEating ( ) : void
ChangeStateToEatingCinematic ( ) : void
ChangeStateToNormal ( ) : void
ChangeToEatingPhase2 ( ) : void
GetClosestNPC ( ) : int
HandleAxeMan ( Message, message ) : void
InsideProgressBar ( Vector3 position ) : bool
LeaveEatingState ( ) : void
OnDestroy ( ) : void
OnTriggerEnter2D ( Collider2D collider ) : void
OnTriggerExit2D ( Collider2D collider ) : void
Start ( ) : void
UpdateAMMPhase1 ( ) : void
UpdateAMMPhase2 ( ) : void
UpdateAxeManMinigame ( ) : void
UpdateDirection ( ) : void
UpdateEating ( ) : void
UpdateEatingCinematic ( ) : void
UpdateEatingPhase1 ( ) : void
UpdateEatingPhase2 ( ) : void
UpdateNormal ( ) : void
UpdateSprites ( ) : void

Method Details

GameUpdate() protected method

protected GameUpdate ( ) : void
return void

OnGUI() public method

public OnGUI ( ) : void
return void

UpdateSorting() public method

public UpdateSorting ( ) : void
return void

Property Details

Prefabs public property

public Prefabs,Tree Prefabs
return Tree.Prefabs

Sounds public property

public Sounds,Tree Sounds
return Tree.Sounds

Speed public property

public float Speed
return float

Textures public property

public Textures,Tree Textures
return Tree.Textures

state public property

public Tree.State state
return Tree.State