public void OnPlayComplete(object sender, FrameWorkEventArg arg) { PlayCompleteEventArg playArg = arg as PlayCompleteEventArg; if (playArg.id == 0) { CompleteProgress(); PushProgress(); } }
void GamePlaySceneEnd(object sendObj, FrameWorkEventArg endArg) { CompleteProgress(); PlayCompleteEventArg playEndArg = endArg as PlayCompleteEventArg; if (playEndArg.id == 0) { GameControler.singleton.eventManager.UnRegistEvent <PlayCompleteEventArg>(GamePlaySceneEnd); PushProgress(); } }