public void Awake()
        {
            DontDestroyOnLoad(gameObject);
            if (instance == null)
            {
                instance = this;
            }
            else
            {
                if (instance != this)
                {
                    Debug.Log("????");
                    Destroy(gameObject);
                }
            }

            Initialize();
        }
        private void Awake()
        {
            pachiGrimoire   = PachiGrimoire.I;
            constData       = pachiGrimoire.constData;
            config          = pachiGrimoire.ConfigManager.Config;
            stateMachine    = pachiGrimoire.StateMachine;
            resourceManager = pachiGrimoire.ResourceManager;
            musicManager    = pachiGrimoire.MusicManager;
            renderManager   = pachiGrimoire.StageRenderManager;
            configManager   = pachiGrimoire.ConfigManager;

            panel = root.GetComponent <UIPanel>();
            root.SetActive(false);

            listener          = UIEventListener.Get(eventListener);
            listener.onPress  = OnMyPress;
            listener.onScroll = OnMyScroll;

            Initilize();
        }