{"id":1794,"date":"2022-07-30T09:43:29","date_gmt":"2022-07-30T09:43:29","guid":{"rendered":"https:\/\/golemitegames.com\/?post_type=docs&#038;p=1794"},"modified":"2022-07-30T09:58:17","modified_gmt":"2022-07-30T09:58:17","password":"","slug":"general-settings-6","status":"publish","type":"docs","link":"https:\/\/golemitegames.com\/index.php\/docs\/general-settings-6\/","title":{"rendered":"General Settings"},"content":{"rendered":"\n<p>The SelectObject script should be placed on a button object. When clicking the button this will pass the assigned object under the prefab field to the Grid Selector (if in the scene) to use for various functions such as placing the object and previewing it. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\" style=\"font-size:22px;text-transform:capitalize\">Prefab<\/h2>\n\n\n\n<p>The object to be passed for placing and preview on the grid. This object needs to be a prefab.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" style=\"font-size:22px;text-transform:capitalize\">Prefab id<\/h2>\n\n\n\n<p>Assign a prefab Id to use later for removing all objects of that type.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" style=\"font-size:22px;text-transform:capitalize\">Move on points<\/h2>\n\n\n\n<p>Enabling this will make the grid selector move on the grid points instead of the center of grid cells when previewing this object. <\/p>\n\n\n\n<p>See <a href=\"https:\/\/golemitegames.com\/index.php\/docs\/setting-up-the-selectobject-button\/\" title=\"Setting up the SelectObject button\">Setting up the SelectObject button<\/a> for more information on how to set this up.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" style=\"font-size:22px;text-transform:capitalize\">Build time<\/h2>\n\n\n\n<p>This is the required amount of time for an object to be built. The object will still place down, but it can be given a seperate material via the <strong>Object Placer<\/strong> and is also not selectable if you have an <strong>Object Selector<\/strong> in the scene. <\/p>\n\n\n\n<p>If this value is 0, it will build instantly. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\" style=\"font-size:22px;text-transform:capitalize\">Cell occupancy<\/h2>\n\n\n\n<figure class=\"wp-block-image size-full\"><img fetchpriority=\"high\" decoding=\"async\" width=\"436\" height=\"238\" src=\"https:\/\/golemitegames.com\/wp-content\/uploads\/2022\/07\/image-23.png\" alt=\"\" class=\"wp-image-1797\" srcset=\"https:\/\/golemitegames.com\/wp-content\/uploads\/2022\/07\/image-23.png 436w, https:\/\/golemitegames.com\/wp-content\/uploads\/2022\/07\/image-23-300x164.png 300w\" sizes=\"(max-width: 436px) 100vw, 436px\" \/><\/figure>\n\n\n\n<p>This is the amount of cells your placeable object will check for and mark as full when placed. White is a cell the object will occupy, light grey is available cells to mark, and dark grey are not available due to <strong>Move On Points<\/strong> being active. <\/p>\n\n\n\n<p>Grid Builder 2&#8217;s pivot is marked the yellow dot. The pivot of both your object and Grid Builder 2&#8217;s pivot should match as closely as possible for best results. <\/p>\n\n\n\n<p>See <a href=\"https:\/\/golemitegames.com\/index.php\/docs\/setting-up-the-selectobject-button\/\" title=\"Setting up the SelectObject button\">Setting up the SelectObject button<\/a> for more information on how to set this up.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The SelectObject script should be placed on a button object. When clicking the button this will pass the assigned object under the prefab field to the Grid Selector (if in the scene) to use for various functions such as placing the object and previewing it. Prefab The object to be passed for placing and preview [&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":[36],"doc_tag":[],"class_list":["post-1794","docs","type-docs","status-publish","hentry","doc_category-selectobject-gridbuilder2"],"acf":[],"aioseo_notices":[],"year_month":"2026-05","word_count":269,"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":"SelectObject","term_url":"https:\/\/golemitegames.com\/index.php\/docs-category\/selectobject-gridbuilder2\/"}],"doc_tag_info":[],"_links":{"self":[{"href":"https:\/\/golemitegames.com\/index.php\/wp-json\/wp\/v2\/docs\/1794","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=1794"}],"version-history":[{"count":3,"href":"https:\/\/golemitegames.com\/index.php\/wp-json\/wp\/v2\/docs\/1794\/revisions"}],"predecessor-version":[{"id":1798,"href":"https:\/\/golemitegames.com\/index.php\/wp-json\/wp\/v2\/docs\/1794\/revisions\/1798"}],"wp:attachment":[{"href":"https:\/\/golemitegames.com\/index.php\/wp-json\/wp\/v2\/media?parent=1794"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/golemitegames.com\/index.php\/wp-json\/wp\/v2\/doc_category?post=1794"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/golemitegames.com\/index.php\/wp-json\/wp\/v2\/doc_tag?post=1794"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}