コード例 #1
0
        public void OnPlayComplete(object sender, FrameWorkEventArg arg)
        {
            PlayCompleteEventArg playArg = arg as PlayCompleteEventArg;

            if (playArg.id == 0)
            {
                CompleteProgress();
                PushProgress();
            }
        }
コード例 #2
0
        void GamePlaySceneEnd(object sendObj, FrameWorkEventArg endArg)
        {
            CompleteProgress();
            PlayCompleteEventArg playEndArg = endArg as PlayCompleteEventArg;

            if (playEndArg.id == 0)
            {
                GameControler.singleton.eventManager.UnRegistEvent <PlayCompleteEventArg>(GamePlaySceneEnd);
                PushProgress();
            }
        }