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