{"id":2407,"date":"2025-11-17T21:57:00","date_gmt":"2025-11-17T21:57:00","guid":{"rendered":"https:\/\/golemitegames.com\/?post_type=docs&#038;p=2407"},"modified":"2025-11-21T21:15:04","modified_gmt":"2025-11-21T21:15:04","password":"","slug":"inventory-item-slot","status":"publish","type":"docs","link":"https:\/\/golemitegames.com\/index.php\/docs\/inventory-item-slot\/","title":{"rendered":"Inventory Item Slot"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\" style=\"font-size:22px;text-transform:capitalize\">Introduction<\/h2>\n\n\n\n<p>This component handles refreshing the Inventory UI for individual <a href=\"https:\/\/golemitegames.com\/index.php\/docs\/item-amount\/\" title=\"Item Amount\">ItemAmount<\/a> information once clicked on a InventoryItemSlot.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" style=\"font-size:22px;text-transform:capitalize\">Setting up<\/h2>\n\n\n\n<p>There is a prefab InventoryItemSlot located in \/prefabs\/UI.<br><br>Setting up without the prefab otherwise is easy, it needs only 3 other components to work, and Image for the Icon, TMP component for Count and a Button to click to display its information using the <a href=\"https:\/\/golemitegames.com\/index.php\/docs\/item-amount-info-panel\/\" title=\"Item Amount Info Panel\">Item Amount Info Panel<\/a>.<br><br>If you are just wanting visuals without the Info, consider using an ItemSlot component instead. This class is inherited from <a href=\"https:\/\/golemitegames.com\/index.php\/docs\/item-slot\/\" title=\"Item Slot\">ItemSlot<\/a>, and <a href=\"https:\/\/golemitegames.com\/index.php\/docs\/inventory-manager\/\" title=\"Inventory Manager\">Inventory Manager<\/a> accepts and uses the functions in <a href=\"https:\/\/golemitegames.com\/index.php\/docs\/item-slot\/\" title=\"Item Slot\">Item Slot<\/a> for refreshing. The only thing this component does is use the Button to display more information about an <a href=\"https:\/\/golemitegames.com\/index.php\/docs\/item-amount\/\" title=\"Item Amount\">Item Amount<\/a>. <br><br>This component should be placed under a Canvas.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" style=\"font-size:22px;text-transform:capitalize\">Settings<\/h2>\n\n\n\n<p><strong>Item Image<\/strong><br>The Image component to display the <a href=\"https:\/\/golemitegames.com\/index.php\/docs\/item\/\" title=\"Item\">Item&#8217;s<\/a> Icon. This field is inherited from ItemSlot. <br><br><strong>Count Text<\/strong><br>The TextMeshProUGUI component to display the <a href=\"https:\/\/golemitegames.com\/index.php\/docs\/item-amount\/\" title=\"Item Amount\">ItemAmount&#8217;s <\/a>Amount. This field is inherited from ItemSlot.<\/p>\n\n\n\n<p><strong>Btn<\/strong><br>The Button component to click to open the <a href=\"https:\/\/golemitegames.com\/index.php\/docs\/item-amount-info-panel\/\" title=\"Item Amount Info Panel\">Item Amount Info Panel<\/a> for the <a href=\"https:\/\/golemitegames.com\/index.php\/docs\/item-amount\/\" title=\"Item Amount\">Item Amount<\/a> assigned to this class. <br><\/p>\n\n\n\n<p><br><br><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction This component handles refreshing the Inventory UI for individual ItemAmount information once clicked on a InventoryItemSlot. Setting up There is a prefab InventoryItemSlot located in \/prefabs\/UI. Setting up without the prefab otherwise is easy, it needs only 3 other components to work, and Image for the Icon, TMP component for Count and a Button [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"doc_category":[46],"doc_tag":[],"class_list":["post-2407","docs","type-docs","status-publish","hentry","doc_category-resource-and-production"],"acf":[],"aioseo_notices":[],"year_month":"2026-04","word_count":178,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"rickitz5h","author_nicename":"rickitz5h","author_url":"https:\/\/golemitegames.com\/index.php\/author\/rickitz5h\/"},"doc_category_info":[{"term_name":"Resource And Production","term_url":"https:\/\/golemitegames.com\/index.php\/docs-category\/resource-and-production\/"}],"doc_tag_info":[],"_links":{"self":[{"href":"https:\/\/golemitegames.com\/index.php\/wp-json\/wp\/v2\/docs\/2407","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/golemitegames.com\/index.php\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/golemitegames.com\/index.php\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/golemitegames.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/golemitegames.com\/index.php\/wp-json\/wp\/v2\/comments?post=2407"}],"version-history":[{"count":3,"href":"https:\/\/golemitegames.com\/index.php\/wp-json\/wp\/v2\/docs\/2407\/revisions"}],"predecessor-version":[{"id":2562,"href":"https:\/\/golemitegames.com\/index.php\/wp-json\/wp\/v2\/docs\/2407\/revisions\/2562"}],"wp:attachment":[{"href":"https:\/\/golemitegames.com\/index.php\/wp-json\/wp\/v2\/media?parent=2407"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/golemitegames.com\/index.php\/wp-json\/wp\/v2\/doc_category?post=2407"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/golemitegames.com\/index.php\/wp-json\/wp\/v2\/doc_tag?post=2407"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}