// Start is called before the first frame update void Start() { Instance = this; btn_rotate.onClick.AddListener(RotateModeOn); btn_time.onClick.AddListener(TimeModeOn); RotateModeOn(); }
// // IAppMode // public void Setup(AppModeManager mgr, IModalApp gInst = null) { // Called by manager before Start() // Not virtual manager = mgr; appl = gInst as AceApplication; logger = UniLogger.GetLogger("AceCoreMode"); }
public void Setup(AppModeManager mgr, IModalApp gInst = null) { // Called by manager before Start() // Not virtual // TODO: this should be the engine and not the modeMgr - but what IS an engine... manager = mgr; appl = gInst as AceApplication; logger = UniLogger.GetLogger("AceGameMode"); }