protected override bool Init() { HashSet <DifficultKind> hashSet = new HashSet <DifficultKind>(); hashSet.Add(DifficultKind.HEI); hashSet.Add(DifficultKind.KOU); hashSet.Add(DifficultKind.OTU); _ctrlDifficultySelect = CtrlDifficultySelect.Instantiate(((Component)TitleTaskManager.GetPrefabFile().prefabCtrlDifficultySelect).GetComponent <CtrlDifficultySelect>(), TitleTaskManager.GetSharedPlace(), TitleTaskManager.GetKeyControl(), App.GetTitleManager().GetSelectableDifficulty(), OnDecideDifficulty, OnCancel); return(true); }
private bool InitPressAnyKey(object data) { this._uiPressAnyKey = UIPressAnyKey.Instantiate(TitleTaskManager.GetPrefabFile().prefabUIPressAnyKey.GetComponent <UIPressAnyKey>(), TitleTaskManager.GetSharedPlace(), new Action(this.OnPressAnyKeyFinished)); return(false); }
private bool InitPressAnyKey(object data) { _uiPressAnyKey = UIPressAnyKey.Instantiate(((Component)TitleTaskManager.GetPrefabFile().prefabUIPressAnyKey).GetComponent <UIPressAnyKey>(), TitleTaskManager.GetSharedPlace(), OnPressAnyKeyFinished); return(false); }
private bool InitSelectMode(object data) { this._ctrlTitleSelectMode = CtrlTitleSelectMode.Instantiate(TitleTaskManager.GetPrefabFile().prefabCtrlTitleSelectMode.GetComponent <CtrlTitleSelectMode>(), TitleTaskManager.GetSharedPlace(), new Action(this.SetupLeaveTimer)); this._ctrlTitleSelectMode.Play(new Action <SelectMode>(this.OnDecideMode)); return(false); }
private bool InitSelectMode(object data) { _ctrlTitleSelectMode = CtrlTitleSelectMode.Instantiate(((Component)TitleTaskManager.GetPrefabFile().prefabCtrlTitleSelectMode).GetComponent <CtrlTitleSelectMode>(), TitleTaskManager.GetSharedPlace(), SetupLeaveTimer); _ctrlTitleSelectMode.Play(OnDecideMode); return(false); }