public override void MVCSetup(object obj) { base.MVCSetup(obj); curLevelOfAdvancement = 0; mVCHelper.Subscribe(UIEvents.dataChanged, OnDataChanged); mVCHelper.Subscribe(UIEvents.backout, Backout); Pauser.PauseGame(); }
public override void MVCSetup(object obj) { Pauser.PauseGame(); base.MVCSetup(obj); selectionInfo = obj; mVCHelper.Subscribe(UIEvents.backout, BackoutOrExit); mVCHelper.Subscribe(UIEvents.execute, Select); }
// Update is called once per frame void Update() { if (Input.GetButtonDown("Start")) { topMenu.GetComponent <SelectionController>().StartSelection(); Pauser.PauseGame(); } }