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"); } }
public void SetUpdateFunction(GaDelegate updateFunction) { this.updateFunction = updateFunction; }