/// Credit Adam Kapos (Nezz) - http://www.songarc.net
/// Sourced from - https://github.com/YousicianGit/UnityMenuSystem
/// Updated by SimonDarksideJ - Refactored to be a more generic component
using System.Collections.Generic;
using System.Reflection;
namespace UnityEngine.UI.Extensions
{
[AddComponentMenu("UI/Extensions/Menu Manager")]
[DisallowMultipleComponent]
public class MenuManager : MonoBehaviour
{
public Menu[] MenuScreens;
public int StartScreen = 0;
private Stack