public virtual void Initialize(MenuItemConfig config, MenuItemColors colors)
        {
            this.config = config;
            this.colors = colors;

            gameObject.name = config.menuItem.name;
        }
        public override void Initialize(MenuItemConfig config, MenuItemColors colors)
        {
            base.Initialize(config, colors);

            labelText.text = toggleMenuItem.name;
            valueText.text = value ? TRUE_STRING : FALSE_STRING;
        }
        public override void Initialize(MenuItemConfig config, MenuItemColors colors)
        {
            base.Initialize(config, colors);

            labelText.text = selectorMenuItem.name;
            valueText.text = "< " + values[index].name + " >";
        }
Beispiel #4
0
        public override void Initialize(MenuItemConfig config, MenuItemColors colors)
        {
            base.Initialize(config, colors);

            labelText.text = buttonMenuItem.name;
        }