public DiscreteTime(float time) { this.m_DiscreteTime = DiscreteTime.FloatToDiscreteTime(time); }
public static float SnapToNearestTick(float time) { long time2 = DiscreteTime.FloatToDiscreteTime(time); return(DiscreteTime.ToFloat(time2)); }