Example #1
0
 void OnDestroy()
 {
     // remove from callback list
     ProgressiveMeshSchedule.unregister_me(token, this);
     clean_all();
 }
Example #2
0
 void Awake()
 {
     get_all_meshes();
     // add to callback list
     token = ProgressiveMeshSchedule.register_me(this);
 }