//Jimmy Vegas Unity Tutorial //This script will work your menu and log purchases using System.Collections; using System.Collections.Generic; using UnityEngine; public class MenuAppear : MonoBehaviour { public GameObject largeButton; public GameObject textClick; public GameObject menuButtons; public void StartMenu() { textClick.SetActive(false); menuButtons.SetActive(true); largeButton.SetActive(false); } } using System.Collections; using System.Collections.Generic; using UnityEngine; public class UnlockedObjects : MonoBehaviour { public int greenSelect; public GameObject fakeGreen; void Start () { greenSelect = PlayerPrefs.GetInt("GreenBought"); if (greenSelect == 100) { fakeGreen.SetActive(false); } } }