Ejemplo n.º 1
0
 static public void addTask2Sim(System.Action action)
 {
     if (threading != null)
     {
         threading.QueueSimulationThread(action);
     }
 }
Ejemplo n.º 2
0
 // This method is called on the Main thread but we want the releases on the Simulation thread.
 public static void ReleaseInstances(IThreading threading)
 {
     try
     {
         threading.QueueSimulationThread(ReleaseAction);
     }
     catch (Exception e)
     {
         Util.DebugPrint("ReleaseInstances:");
         UnityEngine.Debug.LogException(e);
     }
 }
Ejemplo n.º 3
0
 // This method is called on the Main thread but we need to run on the Simulation thread.
 internal static void Deploy(IThreading threading)
 {
     try
     {
         threading.QueueSimulationThread(DeployImpl);
     }
     catch (Exception e)
     {
         Util.DebugPrint("Deploy:");
         UnityEngine.Debug.LogException(e);
     }
 }