void Update( ) { //Update data only on mouse click if (Input.GetMouseButtonUp(0)) { //Update pos & save data: pos = new Vector2(pos.x + 1f, pos.y + 5f); PlayerPrefsExtra.SetVector2("Pos", pos); //Update col & save col = new Color( Random.Range(0f, 1f), Random.Range(0f, 1f), Random.Range(0f, 1f), 1f ); PlayerPrefsExtra.SetColor("Col", col); //Update & save rot rot = new Quaternion( rot.x + 1f, rot.y + 5f, rot.z + 10f, rot.w + 15f ); PlayerPrefsExtra.SetQuaternion("Rot", rot); } }