Exemplo n.º 1
0
        private void Start()
        {
            // Get References
            ui_manager = FindObjectOfType <UIManager>();

            // Set Windowskin and Text Color
            panel.sprite     = ui_manager.GetCurrentMenuSkin();
            text_field.color = ui_manager.GetBestTextColor(panel);
            if (ui_manager.IsDarkBG(panel))
            {
                sel_arrow.enabled = false;
            }
            else
            {
                sel_arrow_white.enabled = false;
            }

            // Initialize View Settings
            choices         = text_field.text.Split('\n');
            text_field.text = null;
            BuildChoicePanel();

            // Ready for Interaction
            choice_package    = ui_manager.choice_package;
            current_selection = choice_package.starting_choice;
            SetPointerStartPos();
            finished = false;
        }