// Start is called before the first frame update void Start() { anim_control = GetComponent <Animator>(); item_display = this.gameObject.transform.Find("Icon_Display").gameObject; item_icon = item_display.transform.Find("Icon").GetComponent <Icon_Item>(); if (item_enum != ITEM_TYPE.EMPTY) { stored_item = new Item(item_enum); item_icon.Set_New_Icon(item_enum); } }
public void Update_Icon_Panel(ITEM_TYPE new_icon) { current_icon.Set_New_Icon(new_icon); }