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