Properties for Runtime Tuning
If we setup all our setters/getters with C# properties we can do something like the following:
public double TimeStep
{
get { return TimeStep; }
set
{
TimeStep = value;
#ifndef UNITY_EDITOR
sceneManager->setTimeStep(value);
#endif
}
}
This should allow one to change the timestep while running the application.
Edited by Andrew Wilson