Ejemplo n.º 1
0
        public virtual void GetPageDisplayController()
        {
            GUI_PageDisplay tempPageDisplayer = GameObject.FindObjectOfType(typeof(GUI_PageDisplay)) as GUI_PageDisplay;

            if (tempPageDisplayer != null)
            {
                this.pageDisplayController = tempPageDisplayer;
            }
            else
            {
                Debug.Log("Could not find GUI_PageDisplay, GUI_Pages will not be able to be displayed");
            }
        }
Ejemplo n.º 2
0
        public virtual void GetPageDisplayController()
        {
            GUI_PageDisplay tempPageDisplayer = GameObject.FindObjectOfType(typeof(GUI_PageDisplay)) as GUI_PageDisplay;

            if (tempPageDisplayer != null)
            {
                this.pageDisplayController = tempPageDisplayer;
            }
            else
            {
                Debug.Log("Could not find GUI_PageDisplay, GUI_Pages will not be able to be displayed");
            }
        }