Beispiel #1
0
 public void Update()
 {
     if (YetAnotherToolbar.instance.InitializationCheck()) // return true if initialized
     {
         Debugging.Message($"Destroying InitializationWorker");
         Destroy(instance.gameObject);
         InitializationWorker.instance = null;
     }
 }
Beispiel #2
0
 public void Start()
 {
     instance = this;
     Debugging.Message($"InitializationWorker started");
 }