Example #1
0
 void StopInstances()
 {
     foreach (var instance in instances)
     {
         manager.synchronizedInvoke.Invoke((System.Action)(() => {
             manager.destroyInstance(instance);
         }), null);
     }
     instances.Clear();
 }