Example #1
0
        public EntityWorldState GetState()
        {
            var state = new EntityWorldState
            {
                TotalTime = TotalTime
            };

            EntityManager.GetState(state);
            return(state);
        }
Example #2
0
 public void RestoreState(EntityWorldState state)
 {
     EntityManager.RestoreState(state);
     TotalTime = state.TotalTime;
 }