//Jimmy Vegas Unity Tutorial //This script will be for your main menu using System.Collections; using System.Collections.Generic; using UnityEngine; public class MenuControls : MonoBehaviour { public GameObject menuSlider; public GameObject anywhereButton; public GameObject anywhereText; public void SlideMenu() { menuSlider.GetComponent().Play("MenuSlide"); anywhereButton.SetActive(false); anywhereText.SetActive(false); } }