Beispiel #1
0
    public override void Clear()
    {
//		Debug.LogError ("clear");
        base.Clear();
        ClearChat();
//		if(mi != null){
//			mi.Clear();
//		}
//		PlatForm.inst.timeout = 5f;
//		TimerManager.inst.Remove (TimeChat_Tick);
        TimerManager.inst.Remove(Time_Tick);
        ViewManager.inst.RemoveTopView(micro);
        NetSocket.inst.RemoveListener(NetBase.SOCKET_TEAMMATCH);
        NetSocket.inst.RemoveListener(NetBase.SOCKET_STARTMATCHPUSH);
        NetSocket.inst.RemoveListener(NetBase.SOCKET_ACCEPTINVITEOTHER);
        NetSocket.inst.RemoveListener(NetBase.SOCKET_KILLTEAMPUSH);     //SOCKET_KILLTEAM
        NetSocket.inst.RemoveListener(NetBase.SOCKET_KILLTEAM);         //SOCKET_KILLTEAM
        NetSocket.inst.RemoveListener(NetBase.SOCKET_QUITTEAMPUSH);
        NetSocket.inst.RemoveListener(NetBase.SOCKET_CANCELMATCHPUSH);
        NetSocket.inst.RemoveListener(NetBase.SOCKET_FREESTARTMATCHPUSH);
        fightModel.Clear();
        fightModel.ClearMicro();
    }
Beispiel #2
0
 public override void Clear()
 {
     base.Clear();
     fightModel.ClearMicro();
 }