public void CopyStruct(GeneralManagerStruct gms) { PlayPause(gms.paused, true); step = gms.step; singleStep = gms.singleStep; gameCamera.position = gms.position; }
public GeneralManagerStruct GenerateStruct() { GeneralManagerStruct gms = new GeneralManagerStruct(); gms.paused = paused; gms.step = step; gms.singleStep = singleStep; gms.position = gameCamera.position; return(gms); }