public EntityWorldState GetState() { var state = new EntityWorldState { TotalTime = TotalTime }; EntityManager.GetState(state); return(state); }
public void RestoreState(EntityWorldState state) { EntityManager.RestoreState(state); TotalTime = state.TotalTime; }