コード例 #1
0
 public void CopyStruct(GeneralManagerStruct gms)
 {
     PlayPause(gms.paused, true);
     step                = gms.step;
     singleStep          = gms.singleStep;
     gameCamera.position = gms.position;
 }
コード例 #2
0
    public GeneralManagerStruct GenerateStruct()
    {
        GeneralManagerStruct gms = new GeneralManagerStruct();

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