void OnDestroy()
 {
     if (ins == this)
     {
         ins = null;
     }
 }
Exemple #2
0
 public static void ClearAll()
 {
     _tasks.Clear();
     //unload scene? if running
     //clear cache
     MapCaptureLoadFromCache.ClearAll();
 }
 void Start()
 {
     ins = this;
 }