FrameIT
StageBehaviour Class Reference

Attached to prefab Def_Stage More...

Inheritance diagram for StageBehaviour:

Public Member Functions

void SetMode (bool create)
 Wrapps SetMode(Mode, GameObject). Needed as endpoint for unity buttons. More...
 
void SetMode (Mode mode, GameObject obj=null)
 Wrapps StageStatic.SetMode(Mode, GameObject). Defaulting obj to this.gameObject. More...
 

Private Member Functions

void Start ()
 Re-loads StageStatic.stage to display all Facts. More...
 
void OnDestroy ()
 Resets changes made by StageStatic.stage and frees ressources. More...
 

Detailed Description

Attached to prefab Def_Stage

Member Function Documentation

◆ OnDestroy()

void StageBehaviour.OnDestroy ( )
private

Resets changes made by StageStatic.stage and frees ressources.

◆ SetMode() [1/2]

void StageBehaviour.SetMode ( bool  create)

Wrapps SetMode(Mode, GameObject). Needed as endpoint for unity buttons.

Parameters
createSetMode(create ? Mode.Create : Mode.Play);

◆ SetMode() [2/2]

void StageBehaviour.SetMode ( Mode  mode,
GameObject  obj = null 
)

Wrapps StageStatic.SetMode(Mode, GameObject). Defaulting obj to this.gameObject.

Parameters
modeMode to set
gameObjectwhich children will be checked

◆ Start()

void StageBehaviour.Start ( )
private

Re-loads StageStatic.stage to display all Facts.


The documentation for this class was generated from the following file: