private void OnEnterSceneClick(GameObject imgScene) { //EngineCoreEvents.UIEvent.ShowUIEventWithParam.SafeInvoke(new FrameMgr.OpenUIParams(UIDefine.UI_ENGER_GAME_UI) //{ // Param = this.m_sceneID //}); CommonHelper.OpenEnterGameSceneUI(this.m_sceneID); LogicHandler.CloseFrame(); }
private void OnBtnCollectRewardClick(GameObject btnCollectReward) { CSActivityRewardRequest activityReward = new CSActivityRewardRequest(); activityReward.Id = this.m_activityID; #if !NETWORK_SYNC || UNITY_EDITOR GameEvents.NetWorkEvents.SendAsyncMsg.SafeInvoke(activityReward); #else GameEvents.NetWorkEvents.SendMsg.SafeInvoke(activityReward); #endif LogicHandler.CloseFrame(); }