public override void NotifyPlayerLoot(KnightHead ing) { if (IsInventory) { return; } base.NotifyPlayerLoot(ing); currentPickingItem = ing.gameObject; label.SetLabel(ing, ing.gameObject); }
public void SetLabel(KnightHead values, GameObject obj) { this.obj = obj; shadow.text = "Loot <color=#ffffff>" + values.playerName + "</color>"; text.text = "Loot " + values.playerName; foreach (var i in consume) { i.SetActive(false); } gameObject.SetActive(true); }
public virtual void NotifyPlayerLoot(KnightHead knight) { }