public bool Init(Action <CtrlStarterSelect.StarterType> onSelectStarter, Action onCancel) { UIStartupNavigation navigation = StartupTaskManager.GetNavigation(); navigation.SetNavigationInStarterSelect(); base.get_transform().localScaleOne(); this._actOnSelectStarter = onSelectStarter; this._actOnCancel = onCancel; this._iSelectType = CtrlStarterSelect.StarterType.Ex; this.ChangeFocus(this._iSelectType); return(true); }
public bool Init(Action <StarterType> onSelectStarter, Action onCancel) { UIStartupNavigation navigation = StartupTaskManager.GetNavigation(); navigation.SetNavigationInStarterSelect(); base.transform.localScaleOne(); _actOnSelectStarter = onSelectStarter; _actOnCancel = onCancel; _iSelectType = StarterType.Ex; ChangeFocus(_iSelectType); return(true); }