Пример #1
0
 void OnDestroy()
 {
     if (ins == this)
     {
         ins = null;
     }
 }
Пример #2
0
 public static void ClearAll()
 {
     _tasks.Clear();
     //unload scene? if running
     //clear cache
     MapCaptureLoadFromCache.ClearAll();
 }
Пример #3
0
 void Start()
 {
     ins = this;
 }