public override void ExposeTimeData() { base.ExposeTimeData(); TimeScribe.Look_Sub(Path); TimeScribe.Look_Value(ref started); TimeScribe.Look_Value(ref remainingWaitingTime); rb.position = TimeScribe.Look_Property(rb.position); Velocity = TimeScribe.Look_Property(Velocity); }
public override void ExposeTimeData() { base.ExposeTimeData(); TimeScribe.Look_Sub(Path); rb.position = TimeScribe.Look_Property(rb.position); rb.velocity = TimeScribe.Look_Property(rb.velocity); TimeScribe.Look_Value(ref started); TimeScribe.Look_Value(ref remainingWaitingTime); TimeScribe.Look_Value(ref movement); mainRenderer.flipX = TimeScribe.Look_Property(mainRenderer.flipX); }