Ejemplo n.º 1
0
 public void CopyStruct(GeneralManagerStruct gms)
 {
     PlayPause(gms.paused, true);
     step                = gms.step;
     singleStep          = gms.singleStep;
     gameCamera.position = gms.position;
 }
Ejemplo n.º 2
0
    public GeneralManagerStruct GenerateStruct()
    {
        GeneralManagerStruct gms = new GeneralManagerStruct();

        gms.paused     = paused;
        gms.step       = step;
        gms.singleStep = singleStep;
        gms.position   = gameCamera.position;
        return(gms);
    }