====== COMP_RESOURCE_STOCKPILE ====== **Category**: Component Parent class: [[:api:component|COMPONENT]]\\ ===== Properties ===== ---- ==== ResourceLayoutTypeList ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:data-types#list|list]]<[[:api:resource_layout_type|RESOURCE_LAYOUT_TYPE]]>'' * **Expected**: ''list of enum values'' ---- ==== OptionalAllowedResourceList ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:data-types#list|list]]<[[:api:resource|RESOURCE]]>'' * **Expected**: ''list of asset IDs'' ---- ==== LocatorPrefix ==== //[[:annotations#serialized|Serialized]]// Optional, allows to use only child game objects whose name starts with this prefix as visual locators. If empty, all child game objects will be used as locators. * **Type**: ''[[:data-types#string|string]]'' * **Expected**: ''string value'' ---- ==== DefaultResourceVisual ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:api:prefab|PREFAB]]'' * **Expected**: ''asset ID'' ---- ==== ResourceStockpileVisualMode ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:api:resource_stockpile_visual_mode|RESOURCE_STOCKPILE_VISUAL_MODE]]'' * **Expected**: ''enum value'' * **Default value**: ''RESOURCE_STOCKPILE_VISUAL_MODE.WAREHOUSE_SPAWN''