First Create a Hierarchy similar to this, with a Main parent and the pages as children. MainMenu>>Page_Main>>Page_Settings>>Page_HostGame Then create this class and add it to the MainMenu GameObject. Then, use the unity ui buttons to call the ShowPage on each button, and pass the name of the page you want to show.