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