예제 #1
0
 public void SetSimulationFunction(float simulationTime, GaDelegate simulationFunction)
 {
     this.simulationTime = simulationTime;
     if (simulationFunction != null)
     {
         this.simulationFunction = simulationFunction;
     }
     else
     {
         Debug.LogError("Simulation function has already been set");
     }
 }
예제 #2
0
 public void SetUpdateFunction(GaDelegate updateFunction)
 {
     this.updateFunction = updateFunction;
 }