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"); }
void Save() { PersistentCache.Save("model", Model); }
public void Save() { PersistentCache.Save(Items); GameController.GC.Save(); }