private void UIScrollListParentAction(ActionType actionType, UIMissionScrollListParent calledObject, UIMissionScrollListChild actionChild) { KeyControl nextFocusKeyController = null; switch (actionType) { case ActionType.OnChangeFocus: break; case ActionType.OnChangeFirstFocus: break; case ActionType.OnButtonSelect: case ActionType.OnTouch: mUIMissionScrollListParent.EnableTouchControl = false; actionChild.Hover(); mModalCamera.Show(); ShowMissionWithTankerConfirmPopUp(actionChild.Model); ChangeFocusKeyController(nextFocusKeyController); break; case ActionType.OnBack: BackToStrategy(); break; } }
private void OnDestroy() { mMissionManager = null; mFocusKeyController = null; ConfirmPopUp = null; mUIMissionScrollListParent = null; mPrefab_UIMissionWithTankerDescriptionPopUp = null; mPrefab_UIMissionWithTankerConfirmPopUp = null; mPrefab_UIMissionStateChangedCutIn = null; mModalCamera = null; mUIMissionHeader = null; }