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