Beispiel #1
0
 void Start()
 {
     gcRef   = FindObjectOfType <GameControl>();
     fogRef  = FindObjectOfType <FogOfWar>();
     refMPU  = FindObjectOfType <MenuPopUp>();
     cellRef = FindObjectOfType <Cell>();
 }
Beispiel #2
0
 // Use this for initialization
 void Start()
 {
     gcRef     = FindObjectOfType <GameControl>();
     playerRef = FindObjectOfType <Player>();
     refFog    = FindObjectOfType <FogOfWar>();
     enemyRef  = FindObjectOfType <Enemy>();
     refMPU    = FindObjectOfType <MenuPopUp>();
 }
Beispiel #3
0
 public void setMenuState(MenuPopUp state)
 {
     menuState = state;
 }
Beispiel #4
0
 public PopMenu()
 {
     menuState = MenuPopUp.menuNothing;
 }