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); }