public override void onShowed() { instance = this; A3_cityOfWarProxy.getInstance().sendPos_info(); if (curMiniMap == null || curMiniMap.id != GRMap.instance.m_nCurMapID) { init_open_map(); } clear_pos(); InvokeRepeating("refreshPos_otherP", 0, 3f); SetSignal(); }
public override void onClosed() { instance = null; CancelInvoke("refreshPos_otherP"); clear_pos(); }