{"id":2445,"date":"2025-11-19T19:55:59","date_gmt":"2025-11-19T19:55:59","guid":{"rendered":"https:\/\/golemitegames.com\/?post_type=docs&#038;p=2445"},"modified":"2025-11-21T21:30:08","modified_gmt":"2025-11-21T21:30:08","password":"","slug":"fps-popup-spawner","status":"publish","type":"docs","link":"https:\/\/golemitegames.com\/index.php\/docs\/fps-popup-spawner\/","title":{"rendered":"FPS Popup Spawner"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\" style=\"font-size:22px;text-transform:capitalize\">Introduction<\/h2>\n\n\n\n<p>Similar to the <a href=\"https:\/\/golemitegames.com\/index.php\/docs\/popup-spawner\/\" title=\"Popup Spawner\">PopupSpawner<\/a>, but will place the <a href=\"https:\/\/golemitegames.com\/index.php\/docs\/popup\/\" title=\"Popup\">Popup<\/a> in front of the <a href=\"https:\/\/golemitegames.com\/index.php\/docs\/resource-node\/\" title=\"Resource Node\">Resource Node<\/a> when a <a href=\"https:\/\/golemitegames.com\/index.php\/docs\/resource\/\" title=\"Resource\">Resource<\/a> is triggered. It will also apply scaling depending on how far you are from the <a href=\"https:\/\/golemitegames.com\/index.php\/docs\/resource-node\/\" title=\"Resource Node\">Resource Node<\/a>, meaning you will always see the <a href=\"https:\/\/golemitegames.com\/index.php\/docs\/popup\/\" title=\"Popup\">popup<\/a> no matter how far you are away. <br><br>Unlike the <a href=\"https:\/\/golemitegames.com\/index.php\/docs\/popup-spawner\/\" title=\"Popup Spawner\">PopupSpawner<\/a>, this component really only works with <a href=\"https:\/\/golemitegames.com\/index.php\/docs\/resource-node\/\" title=\"Resource Node\">Resource Nodes<\/a>, when you are looking from the camera. <br><br>This component fits FPS style gameplay very well.<\/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 FPSPopupSpawner located in \/prefabs\/UI.<br><br>Setting up without the prefab is easy and requires a <a href=\"https:\/\/golemitegames.com\/index.php\/docs\/popup\/\" title=\"Popup\">Popup<\/a> prefab, which is located in \/prefabs\/UI.<br><br>Popups parent directly under a transform created at runtime by the <a href=\"https:\/\/golemitegames.com\/index.php\/docs\/resource-and-production-manager\/\" title=\"Resource And Production Manager\">Resource And Production Manager<\/a> for tidyness and for when the originating object gets destroyed, the popup does not go with it and has its own lifetime.<\/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>Popup Prefab<\/strong><br>Assign a <a href=\"https:\/\/golemitegames.com\/index.php\/docs\/popup\/\" title=\"Popup\">Popup<\/a> prefab with a <a href=\"https:\/\/golemitegames.com\/index.php\/docs\/popup\/\" title=\"Popup\">Popup<\/a> component attached. <br><br><strong>Distance Multiplier<\/strong><br>Scales the <a href=\"https:\/\/golemitegames.com\/index.php\/docs\/popup\/\" title=\"Popup\">Popup<\/a> upon instantiation depending on how far the <a href=\"https:\/\/golemitegames.com\/index.php\/docs\/resource-node\/\" title=\"Resource Node\">Resource Node<\/a> is from the Camera. This setting will scale this value. A setting of 1 will consistantly keep the <a href=\"https:\/\/golemitegames.com\/index.php\/docs\/popup\/\" title=\"Popup\">Popup<\/a> the same size as the prefab is no matter how far from the Camera. <br><br><strong>Rise Distance<\/strong><br>How far the <a href=\"https:\/\/golemitegames.com\/index.php\/docs\/popup\/\" title=\"Popup\">Popup<\/a> will rise up once instantiated. <br><br><strong>Rise Fade Duration<\/strong><br>How long will it take for the <a href=\"https:\/\/golemitegames.com\/index.php\/docs\/popup\/\" title=\"Popup\">Popup<\/a> to rise and fade once instantiated.<br><br><strong>Rise Curve<\/strong><br>Assign a custom easing to the <a href=\"https:\/\/golemitegames.com\/index.php\/docs\/popup\/\" title=\"Popup\">Popup<\/a> over its Rise Fade Duration.<br><br><strong>Hit Back Offset<\/strong><br>How far back towards the Camera the <a href=\"https:\/\/golemitegames.com\/index.php\/docs\/popup\/\" title=\"Popup\">Popup<\/a> should be be instantiated. This can be useful for any clipping.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction Similar to the PopupSpawner, but will place the Popup in front of the Resource Node when a Resource is triggered. It will also apply scaling depending on how far you are from the Resource Node, meaning you will always see the popup no matter how far you are away. Unlike the PopupSpawner, this component [&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-2445","docs","type-docs","status-publish","hentry","doc_category-resource-and-production"],"acf":[],"aioseo_notices":[],"year_month":"2026-04","word_count":258,"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\/2445","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=2445"}],"version-history":[{"count":6,"href":"https:\/\/golemitegames.com\/index.php\/wp-json\/wp\/v2\/docs\/2445\/revisions"}],"predecessor-version":[{"id":2575,"href":"https:\/\/golemitegames.com\/index.php\/wp-json\/wp\/v2\/docs\/2445\/revisions\/2575"}],"wp:attachment":[{"href":"https:\/\/golemitegames.com\/index.php\/wp-json\/wp\/v2\/media?parent=2445"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/golemitegames.com\/index.php\/wp-json\/wp\/v2\/doc_category?post=2445"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/golemitegames.com\/index.php\/wp-json\/wp\/v2\/doc_tag?post=2445"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}