Exemple #1
0
        /// <summary>
        /// Delegate that handles when MDSNode is touched / tapped on
        /// </summary>
        public void OnTouch()
        {
            GUIController guiController = MainController.Instance.GetGUIController();

            // Disable GUI
            guiController.DisableGUI();
            // Show puzzle challenge GUI
            guiController.puzzlePanel.EnablePanel();

            // Set image name and answer for puzzle challenge
            guiController.puzzlePanel.SetImageAndAnswer(m_NodeInfo.name, m_NodeInfo.answer);
        }