Ejemplo n.º 1
0
        public void Save()
        {
            Data.BallPositionX   = Ball.transform.position.x;
            Data.BallPositionY   = Ball.transform.position.y;
            Data.CameraPositionY = Camera.transform.position.y;
            Data.InputType       = inputController.GetComponent <InputControllerBase>().InputType;

            PersistentCache.Save(Data);
            Debug.Log("Saved");
        }
Ejemplo n.º 2
0
 void Save()
 {
     PersistentCache.Save("model", Model);
 }
Ejemplo n.º 3
0
 public void Save()
 {
     PersistentCache.Save(Items);
     GameController.GC.Save();
 }