1 public virtual void OnLoadedUI(bool close3dTouch, object args) 2 { 3 Debug.LogError("OnLoadedUI===" + frame); 4 } 5 public virtual void OnOpenUI(object args) 6 { 7 Debug.LogError("OnOpenUI===" + frame); 8 } 9 10 long frame = 0; 11 private void Update() { 12 frame++; 13 }
//看打印的frame是否相同