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 }
//See if the printed frames are the same
unity check if function is executed in one frame
Guess you like
Origin http://43.154.161.224:23101/article/api/json?id=324919927&siteId=291194637
Ranking