{"id":1309,"date":"2025-05-10T18:54:45","date_gmt":"2025-05-10T18:54:45","guid":{"rendered":"https:\/\/sites.wsagames.com\/et4g23\/?p=1309"},"modified":"2025-05-11T18:40:59","modified_gmt":"2025-05-11T18:40:59","slug":"ui","status":"publish","type":"post","link":"https:\/\/sites.wsagames.com\/et4g23\/2025\/05\/10\/ui\/","title":{"rendered":"General UI"},"content":{"rendered":"\n<p class=\"has-text-align-center has-background wp-block-paragraph\" style=\"background-color:#dfdfdf\">This post will document any development I had to do with the games HUD and\/or Menus, as I wasn&#8217;t the main developer on those aspects I decided to compile them all into this one post.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"312\" src=\"https:\/\/sites.wsagames.com\/et4g23\/wp-content\/uploads\/sites\/27\/2025\/05\/image-74-1024x312.png\" alt=\"\" class=\"wp-image-1310\" srcset=\"https:\/\/sites.wsagames.com\/et4g23\/wp-content\/uploads\/sites\/27\/2025\/05\/image-74-1024x312.png 1024w, https:\/\/sites.wsagames.com\/et4g23\/wp-content\/uploads\/sites\/27\/2025\/05\/image-74-300x91.png 300w, https:\/\/sites.wsagames.com\/et4g23\/wp-content\/uploads\/sites\/27\/2025\/05\/image-74-768x234.png 768w, https:\/\/sites.wsagames.com\/et4g23\/wp-content\/uploads\/sites\/27\/2025\/05\/image-74-850x259.png 850w, https:\/\/sites.wsagames.com\/et4g23\/wp-content\/uploads\/sites\/27\/2025\/05\/image-74.png 1301w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">This was an easy bug to fix, as the <em><strong>Game Manager script<\/strong><\/em> on the <em><strong>GameManager gameobject<\/strong><\/em> was simply missing a reference to the game over menu, therefore it wasn&#8217;t appearing when the player died. All I had to do was drag the game over menu in the hierarchy into the Game Manager script and save the scene.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The other bug where the animation of the tree in the Main Menu scene would freeze was caused by the <em><strong>Time.timeScale() function<\/strong><\/em> in the pause menu and game over menu. Both these menus set the <strong><em>Time.timeScale()<\/em><\/strong> to zero effectively freezing the game but wouldn&#8217;t set it back if the player pressed the Main Menu button. Therefore, the tree animation would be frozen &#8211; to fix this I simply reset the <em><strong>Time.timeScale()<\/strong><\/em> to 1 if the player presssed the Main Menu button.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"374\" src=\"https:\/\/sites.wsagames.com\/et4g23\/wp-content\/uploads\/sites\/27\/2025\/05\/image-117-1024x374.png\" alt=\"\" class=\"wp-image-1429\" srcset=\"https:\/\/sites.wsagames.com\/et4g23\/wp-content\/uploads\/sites\/27\/2025\/05\/image-117-1024x374.png 1024w, https:\/\/sites.wsagames.com\/et4g23\/wp-content\/uploads\/sites\/27\/2025\/05\/image-117-300x109.png 300w, https:\/\/sites.wsagames.com\/et4g23\/wp-content\/uploads\/sites\/27\/2025\/05\/image-117-768x280.png 768w, https:\/\/sites.wsagames.com\/et4g23\/wp-content\/uploads\/sites\/27\/2025\/05\/image-117-850x310.png 850w, https:\/\/sites.wsagames.com\/et4g23\/wp-content\/uploads\/sites\/27\/2025\/05\/image-117.png 1077w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The Terra Shard Counter in the HUD wasn&#8217;t being updated for two reasons: The Terra Shard item wasn&#8217;t updating the <strong><em>PlayStatsManager&#8217;s  <\/em><\/strong><em><strong>terraShardCount <\/strong><\/em>when the player picked it up and the <strong><em>PlayerInventory <\/em><\/strong>script wasn&#8217;t being updated when the player spent <strong>Terra Shards<\/strong> at the<strong> Tree of Sorrow<\/strong>. Which were two simple fixes.<\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6ac88a8e613ea&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"6ac88a8e613ea\" class=\"wp-block-image size-full is-resized wp-lightbox-container\"><img decoding=\"async\" width=\"617\" height=\"104\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on--pointerdown=\"actions.preloadImage\" data-wp-on--pointerenter=\"actions.preloadImageWithDelay\" data-wp-on--pointerleave=\"actions.cancelPreload\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/sites.wsagames.com\/et4g23\/wp-content\/uploads\/sites\/27\/2025\/05\/image-118.png\" alt=\"\" class=\"wp-image-1431\" style=\"width:840px;height:auto\" srcset=\"https:\/\/sites.wsagames.com\/et4g23\/wp-content\/uploads\/sites\/27\/2025\/05\/image-118.png 617w, https:\/\/sites.wsagames.com\/et4g23\/wp-content\/uploads\/sites\/27\/2025\/05\/image-118-300x51.png 300w\" sizes=\"(max-width: 617px) 100vw, 617px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\tdata-wp-bind--aria-label=\"state.thisImage.triggerButtonAriaLabel\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.thisImage.buttonRight\"\n\t\t\tdata-wp-style--top=\"state.thisImage.buttonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">I added an <em><strong>Update() <\/strong><\/em>method in the <strong>PlayerInventory <\/strong>script that updates its currentTerraShard int constantly.<\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6ac88a8e619ca&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"6ac88a8e619ca\" class=\"wp-block-image size-full is-resized wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"724\" height=\"102\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on--pointerdown=\"actions.preloadImage\" data-wp-on--pointerenter=\"actions.preloadImageWithDelay\" data-wp-on--pointerleave=\"actions.cancelPreload\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/sites.wsagames.com\/et4g23\/wp-content\/uploads\/sites\/27\/2025\/05\/image-119.png\" alt=\"\" class=\"wp-image-1432\" style=\"width:840px;height:auto\" srcset=\"https:\/\/sites.wsagames.com\/et4g23\/wp-content\/uploads\/sites\/27\/2025\/05\/image-119.png 724w, https:\/\/sites.wsagames.com\/et4g23\/wp-content\/uploads\/sites\/27\/2025\/05\/image-119-300x42.png 300w\" sizes=\"(max-width: 724px) 100vw, 724px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\tdata-wp-bind--aria-label=\"state.thisImage.triggerButtonAriaLabel\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.thisImage.buttonRight\"\n\t\t\tdata-wp-style--top=\"state.thisImage.buttonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">In the TerraShard gameobject&#8217;s script, I added code that updates both the <em><strong>PlayerInventory&#8217;s <\/strong><\/em>and the <em><strong>PlayerStatsManger&#8217;s terraShardCount ints<\/strong><\/em>.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"155\" src=\"https:\/\/sites.wsagames.com\/et4g23\/wp-content\/uploads\/sites\/27\/2025\/05\/image-159-1024x155.png\" alt=\"\" class=\"wp-image-1499\" srcset=\"https:\/\/sites.wsagames.com\/et4g23\/wp-content\/uploads\/sites\/27\/2025\/05\/image-159-1024x155.png 1024w, https:\/\/sites.wsagames.com\/et4g23\/wp-content\/uploads\/sites\/27\/2025\/05\/image-159-300x45.png 300w, https:\/\/sites.wsagames.com\/et4g23\/wp-content\/uploads\/sites\/27\/2025\/05\/image-159-768x116.png 768w, https:\/\/sites.wsagames.com\/et4g23\/wp-content\/uploads\/sites\/27\/2025\/05\/image-159-850x128.png 850w, https:\/\/sites.wsagames.com\/et4g23\/wp-content\/uploads\/sites\/27\/2025\/05\/image-159.png 1224w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">After our Environment Designer, Xane, implemented a fade in and out of every scene, there were a few bugs that had to be fixed. The first one being the restart button not working in the dungeon scene, however this was only due to a missing reference in the GameManger script. Therefore, I changed the SceneTransition from being private to public (as the code in the <em><strong>Start() <\/strong><\/em>method was failing to find it) and referenced it manually in the inspector.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This second bug caused the screen to stay completely black after a scene transition, however this was only because the new transition code from Xane forgot to set the <em><strong>Time.timeScale()<\/strong><\/em> back to 1. This changed allowed the fade in to occur naturally, preventing the black screen bug.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"191\" src=\"https:\/\/sites.wsagames.com\/et4g23\/wp-content\/uploads\/sites\/27\/2025\/05\/image-163-1024x191.png\" alt=\"\" class=\"wp-image-1508\" srcset=\"https:\/\/sites.wsagames.com\/et4g23\/wp-content\/uploads\/sites\/27\/2025\/05\/image-163-1024x191.png 1024w, https:\/\/sites.wsagames.com\/et4g23\/wp-content\/uploads\/sites\/27\/2025\/05\/image-163-300x56.png 300w, https:\/\/sites.wsagames.com\/et4g23\/wp-content\/uploads\/sites\/27\/2025\/05\/image-163-768x143.png 768w, https:\/\/sites.wsagames.com\/et4g23\/wp-content\/uploads\/sites\/27\/2025\/05\/image-163-850x159.png 850w, https:\/\/sites.wsagames.com\/et4g23\/wp-content\/uploads\/sites\/27\/2025\/05\/image-163.png 1168w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">This pop up &#8216;E&#8217; button would be for the Tree of Sorrow or Boss Gateway, essentially it checks if the player collides with a trigger tagged with &#8220;Interactable&#8221;, if it does then the &#8216;E&#8217; pop up appears.<\/p>\n\n\n\n<figure class=\"wp-block-video\"><video height=\"720\" style=\"aspect-ratio: 1280 \/ 720;\" width=\"1280\" controls src=\"https:\/\/sites.wsagames.com\/et4g23\/wp-content\/uploads\/sites\/27\/2025\/05\/MedalTVScreenRecording20250504180503-tr-edit-Trim.mp4\"><\/video><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>This post will document any development I had to do with the games HUD and\/or Menus, as I wasn&#8217;t the main developer on those aspects I decided to compile them all into this one post. This was an easy bug to fix, as the Game Manager script on the GameManager gameobject was simply missing a&#8230;<\/p>\n","protected":false},"author":28,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1309","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>General UI - E-Jay Tripoli (Year 2 Archive)<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/sites.wsagames.com\/et4g23\/2025\/05\/10\/ui\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"General UI - E-Jay Tripoli (Year 2 Archive)\" \/>\n<meta property=\"og:description\" content=\"This post will document any development I had to do with the games HUD and\/or Menus, as I wasn&#8217;t the main developer on those aspects I decided to compile them all into this one post. This was an easy bug to fix, as the Game Manager script on the GameManager gameobject was simply missing a...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/sites.wsagames.com\/et4g23\/2025\/05\/10\/ui\/\" \/>\n<meta property=\"og:site_name\" content=\"E-Jay Tripoli (Year 2 Archive)\" \/>\n<meta property=\"article:published_time\" content=\"2025-05-10T18:54:45+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-05-11T18:40:59+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/sites.wsagames.com\/et4g23\/wp-content\/uploads\/sites\/27\/2025\/05\/image-74-1024x312.png\" \/>\n<meta name=\"author\" content=\"et4g23\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"et4g23\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/sites.wsagames.com\\\/et4g23\\\/2025\\\/05\\\/10\\\/ui\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/sites.wsagames.com\\\/et4g23\\\/2025\\\/05\\\/10\\\/ui\\\/\"},\"author\":{\"name\":\"et4g23\",\"@id\":\"https:\\\/\\\/sites.wsagames.com\\\/et4g23\\\/#\\\/schema\\\/person\\\/56387a1dc0de878bb33ce4c478f22963\"},\"headline\":\"General UI\",\"datePublished\":\"2025-05-10T18:54:45+00:00\",\"dateModified\":\"2025-05-11T18:40:59+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/sites.wsagames.com\\\/et4g23\\\/2025\\\/05\\\/10\\\/ui\\\/\"},\"wordCount\":435,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/sites.wsagames.com\\\/et4g23\\\/2025\\\/05\\\/10\\\/ui\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/sites.wsagames.com\\\/et4g23\\\/wp-content\\\/uploads\\\/sites\\\/27\\\/2025\\\/05\\\/image-74-1024x312.png\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/sites.wsagames.com\\\/et4g23\\\/2025\\\/05\\\/10\\\/ui\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/sites.wsagames.com\\\/et4g23\\\/2025\\\/05\\\/10\\\/ui\\\/\",\"url\":\"https:\\\/\\\/sites.wsagames.com\\\/et4g23\\\/2025\\\/05\\\/10\\\/ui\\\/\",\"name\":\"General UI - E-Jay Tripoli (Year 2 Archive)\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/sites.wsagames.com\\\/et4g23\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/sites.wsagames.com\\\/et4g23\\\/2025\\\/05\\\/10\\\/ui\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/sites.wsagames.com\\\/et4g23\\\/2025\\\/05\\\/10\\\/ui\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/sites.wsagames.com\\\/et4g23\\\/wp-content\\\/uploads\\\/sites\\\/27\\\/2025\\\/05\\\/image-74-1024x312.png\",\"datePublished\":\"2025-05-10T18:54:45+00:00\",\"dateModified\":\"2025-05-11T18:40:59+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/sites.wsagames.com\\\/et4g23\\\/#\\\/schema\\\/person\\\/56387a1dc0de878bb33ce4c478f22963\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/sites.wsagames.com\\\/et4g23\\\/2025\\\/05\\\/10\\\/ui\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/sites.wsagames.com\\\/et4g23\\\/2025\\\/05\\\/10\\\/ui\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/sites.wsagames.com\\\/et4g23\\\/2025\\\/05\\\/10\\\/ui\\\/#primaryimage\",\"url\":\"https:\\\/\\\/sites.wsagames.com\\\/et4g23\\\/wp-content\\\/uploads\\\/sites\\\/27\\\/2025\\\/05\\\/image-74.png\",\"contentUrl\":\"https:\\\/\\\/sites.wsagames.com\\\/et4g23\\\/wp-content\\\/uploads\\\/sites\\\/27\\\/2025\\\/05\\\/image-74.png\",\"width\":1301,\"height\":396},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/sites.wsagames.com\\\/et4g23\\\/2025\\\/05\\\/10\\\/ui\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/sites.wsagames.com\\\/et4g23\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"General UI\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/sites.wsagames.com\\\/et4g23\\\/#website\",\"url\":\"https:\\\/\\\/sites.wsagames.com\\\/et4g23\\\/\",\"name\":\"E-Jay Tripoli (Year 2 Archive)\",\"description\":\"A documentation of my work for Year 2 - Studying Games Design and Art at the University of Southampton\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/sites.wsagames.com\\\/et4g23\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/sites.wsagames.com\\\/et4g23\\\/#\\\/schema\\\/person\\\/56387a1dc0de878bb33ce4c478f22963\",\"name\":\"et4g23\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/477d521b3b86e4ef27181bf784cd1a145a38c7d6a0154a478d3c858d26298bec?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/477d521b3b86e4ef27181bf784cd1a145a38c7d6a0154a478d3c858d26298bec?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/477d521b3b86e4ef27181bf784cd1a145a38c7d6a0154a478d3c858d26298bec?s=96&d=mm&r=g\",\"caption\":\"et4g23\"},\"url\":\"https:\\\/\\\/sites.wsagames.com\\\/et4g23\\\/author\\\/et4g23\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"General UI - E-Jay Tripoli (Year 2 Archive)","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/sites.wsagames.com\/et4g23\/2025\/05\/10\/ui\/","og_locale":"en_US","og_type":"article","og_title":"General UI - E-Jay Tripoli (Year 2 Archive)","og_description":"This post will document any development I had to do with the games HUD and\/or Menus, as I wasn&#8217;t the main developer on those aspects I decided to compile them all into this one post. This was an easy bug to fix, as the Game Manager script on the GameManager gameobject was simply missing a...","og_url":"https:\/\/sites.wsagames.com\/et4g23\/2025\/05\/10\/ui\/","og_site_name":"E-Jay Tripoli (Year 2 Archive)","article_published_time":"2025-05-10T18:54:45+00:00","article_modified_time":"2025-05-11T18:40:59+00:00","og_image":[{"url":"https:\/\/sites.wsagames.com\/et4g23\/wp-content\/uploads\/sites\/27\/2025\/05\/image-74-1024x312.png","type":"","width":"","height":""}],"author":"et4g23","twitter_card":"summary_large_image","twitter_misc":{"Written by":"et4g23","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/sites.wsagames.com\/et4g23\/2025\/05\/10\/ui\/#article","isPartOf":{"@id":"https:\/\/sites.wsagames.com\/et4g23\/2025\/05\/10\/ui\/"},"author":{"name":"et4g23","@id":"https:\/\/sites.wsagames.com\/et4g23\/#\/schema\/person\/56387a1dc0de878bb33ce4c478f22963"},"headline":"General UI","datePublished":"2025-05-10T18:54:45+00:00","dateModified":"2025-05-11T18:40:59+00:00","mainEntityOfPage":{"@id":"https:\/\/sites.wsagames.com\/et4g23\/2025\/05\/10\/ui\/"},"wordCount":435,"commentCount":0,"image":{"@id":"https:\/\/sites.wsagames.com\/et4g23\/2025\/05\/10\/ui\/#primaryimage"},"thumbnailUrl":"https:\/\/sites.wsagames.com\/et4g23\/wp-content\/uploads\/sites\/27\/2025\/05\/image-74-1024x312.png","inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/sites.wsagames.com\/et4g23\/2025\/05\/10\/ui\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/sites.wsagames.com\/et4g23\/2025\/05\/10\/ui\/","url":"https:\/\/sites.wsagames.com\/et4g23\/2025\/05\/10\/ui\/","name":"General UI - E-Jay Tripoli (Year 2 Archive)","isPartOf":{"@id":"https:\/\/sites.wsagames.com\/et4g23\/#website"},"primaryImageOfPage":{"@id":"https:\/\/sites.wsagames.com\/et4g23\/2025\/05\/10\/ui\/#primaryimage"},"image":{"@id":"https:\/\/sites.wsagames.com\/et4g23\/2025\/05\/10\/ui\/#primaryimage"},"thumbnailUrl":"https:\/\/sites.wsagames.com\/et4g23\/wp-content\/uploads\/sites\/27\/2025\/05\/image-74-1024x312.png","datePublished":"2025-05-10T18:54:45+00:00","dateModified":"2025-05-11T18:40:59+00:00","author":{"@id":"https:\/\/sites.wsagames.com\/et4g23\/#\/schema\/person\/56387a1dc0de878bb33ce4c478f22963"},"breadcrumb":{"@id":"https:\/\/sites.wsagames.com\/et4g23\/2025\/05\/10\/ui\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/sites.wsagames.com\/et4g23\/2025\/05\/10\/ui\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/sites.wsagames.com\/et4g23\/2025\/05\/10\/ui\/#primaryimage","url":"https:\/\/sites.wsagames.com\/et4g23\/wp-content\/uploads\/sites\/27\/2025\/05\/image-74.png","contentUrl":"https:\/\/sites.wsagames.com\/et4g23\/wp-content\/uploads\/sites\/27\/2025\/05\/image-74.png","width":1301,"height":396},{"@type":"BreadcrumbList","@id":"https:\/\/sites.wsagames.com\/et4g23\/2025\/05\/10\/ui\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/sites.wsagames.com\/et4g23\/"},{"@type":"ListItem","position":2,"name":"General UI"}]},{"@type":"WebSite","@id":"https:\/\/sites.wsagames.com\/et4g23\/#website","url":"https:\/\/sites.wsagames.com\/et4g23\/","name":"E-Jay Tripoli (Year 2 Archive)","description":"A documentation of my work for Year 2 - Studying Games Design and Art at the University of Southampton","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/sites.wsagames.com\/et4g23\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/sites.wsagames.com\/et4g23\/#\/schema\/person\/56387a1dc0de878bb33ce4c478f22963","name":"et4g23","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/477d521b3b86e4ef27181bf784cd1a145a38c7d6a0154a478d3c858d26298bec?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/477d521b3b86e4ef27181bf784cd1a145a38c7d6a0154a478d3c858d26298bec?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/477d521b3b86e4ef27181bf784cd1a145a38c7d6a0154a478d3c858d26298bec?s=96&d=mm&r=g","caption":"et4g23"},"url":"https:\/\/sites.wsagames.com\/et4g23\/author\/et4g23\/"}]}},"_links":{"self":[{"href":"https:\/\/sites.wsagames.com\/et4g23\/wp-json\/wp\/v2\/posts\/1309","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sites.wsagames.com\/et4g23\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sites.wsagames.com\/et4g23\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sites.wsagames.com\/et4g23\/wp-json\/wp\/v2\/users\/28"}],"replies":[{"embeddable":true,"href":"https:\/\/sites.wsagames.com\/et4g23\/wp-json\/wp\/v2\/comments?post=1309"}],"version-history":[{"count":6,"href":"https:\/\/sites.wsagames.com\/et4g23\/wp-json\/wp\/v2\/posts\/1309\/revisions"}],"predecessor-version":[{"id":1511,"href":"https:\/\/sites.wsagames.com\/et4g23\/wp-json\/wp\/v2\/posts\/1309\/revisions\/1511"}],"wp:attachment":[{"href":"https:\/\/sites.wsagames.com\/et4g23\/wp-json\/wp\/v2\/media?parent=1309"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sites.wsagames.com\/et4g23\/wp-json\/wp\/v2\/categories?post=1309"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sites.wsagames.com\/et4g23\/wp-json\/wp\/v2\/tags?post=1309"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}