Exemplo n.º 1
0
    private void Awake()
    {
        abilitiesPanel = GetComponent <AbilitiesPanel>();

        selectedUnitsPanel.OnNewFocus  += UnlockHotkeys;
        selectedUnitsPanel.OnLoseFocus += LockAllHotkeys;
    }
Exemplo n.º 2
0
    public void ShowAbilities()
    {
        currentPanel = Panels.Abilities;

        MenuPanel.SetActive(false);
        WeaponsPanel.SetActive(false);
        //ItemsPanel.SetActive(false);
        AbilitiesPanel.SetActive(true);

        MenuButton.GetComponent <Image>().color    = new Color(0.4117647f, 0.3882353f, 0.6196079f);
        WeaponsButton.GetComponent <Image>().color = new Color(0.4117647f, 0.3882353f, 0.6196079f);
        //ItemsButton.GetComponent<Image>().color = new Color(0.4117647f, 0.3882353f, 0.6196079f);
        AbilitiesButton.GetComponent <Image>().color = new Color(0.2638712f, 0.2509804f, 0.3882353f);
    }
Exemplo n.º 3
0
    public void ShowItems()
    {
        currentPanel = Panels.Items;

        MenuPanel.SetActive(false);
        WeaponsPanel.SetActive(false);
        ItemsPanel.SetActive(true);
        AbilitiesPanel.SetActive(false);

        MenuButton.GetComponent <Image>().color      = new Color(0.4117647f, 0.3882353f, 0.6196079f);
        WeaponsButton.GetComponent <Image>().color   = new Color(0.4117647f, 0.3882353f, 0.6196079f);
        ItemsButton.GetComponent <Image>().color     = new Color(0.2638712f, 0.2509804f, 0.3882353f);
        AbilitiesButton.GetComponent <Image>().color = new Color(0.4117647f, 0.3882353f, 0.6196079f);

        playerStats.SetupItemUIs(ItemsList);
    }
Exemplo n.º 4
0
        public SkillChallengeBreakdownForm(SkillChallenge sc)
        {
            InitializeComponent();

            AbilitiesPanel.Analyse(sc);
        }