Esempio n. 1
0
 void Awake()
 {
     hb = GameObject.FindGameObjectWithTag("UIManager").GetComponent <HotbarUI>();
 }
Esempio n. 2
0
        //public override void ModifyTooltips(List<TooltipLine> tooltips) => tooltips.Add(new TooltipLine(mod, "BowMode", Language.GetTextValue(GetMode(Main.LocalPlayer))));

        public override void HoldItem(Player player)
        {
            player.ModPlayer().charredProj = true;
            HotbarUI.instances[HotbarUI.GetIndex("CinderCedarBow:ToggleModes")].active = true;
        }