{"id":1152,"date":"2022-03-10T20:14:18","date_gmt":"2022-03-10T20:14:18","guid":{"rendered":"https:\/\/golemitegames.com\/?post_type=docs&#038;p=1152"},"modified":"2022-03-14T10:18:59","modified_gmt":"2022-03-14T10:18:59","password":"","slug":"troubleshooting","status":"publish","type":"docs","link":"https:\/\/golemitegames.com\/index.php\/docs\/troubleshooting\/","title":{"rendered":"Troubleshooting"},"content":{"rendered":"\n<div class=\"wp-block-pb-accordion-item c-accordion__item js-accordion-item no-js\" data-initially-open=\"false\" data-click-to-close=\"true\" data-auto-close=\"true\" data-scroll=\"false\" data-scroll-offset=\"0\"><h2 id=\"at-11520\" class=\"c-accordion__title js-accordion-controller\" role=\"button\">My timer doesn&#8217;t display<\/h2><div id=\"ac-11520\" class=\"c-accordion__content\">\n<p>Make sure you have placed the timer under the canvas object and that the timer is linked to an output. Try and drag in a prefab under a canvas element if you still have trouble. <\/p>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-pb-accordion-item c-accordion__item js-accordion-item no-js\" data-initially-open=\"false\" data-click-to-close=\"true\" data-auto-close=\"true\" data-scroll=\"false\" data-scroll-offset=\"0\"><h2 id=\"at-11521\" class=\"c-accordion__title js-accordion-controller\" role=\"button\">How can I start my timer at a certain time?<\/h2><div id=\"ac-11521\" class=\"c-accordion__content\">\n<p>You can start your timer when you like by simply calling the method StartTimer() once you have a reference to that object. If for example, you wanted to start the timer when somebody clicks somewhere, get the timer reference in awake, and perhaps in the button event call StartTimer() and that will start the timer with the time set in the inspector.<\/p>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-pb-accordion-item c-accordion__item js-accordion-item no-js\" data-initially-open=\"false\" data-click-to-close=\"true\" data-auto-close=\"true\" data-scroll=\"false\" data-scroll-offset=\"0\"><h2 id=\"at-11522\" class=\"c-accordion__title js-accordion-controller\" role=\"button\">I want a single timer to run throughout my game<\/h2><div id=\"ac-11522\" class=\"c-accordion__content\">\n<p>If you want only one instance of the timer to run throughout, such as a timer for every level or a countdown into each level you will need to do a little coding. You can get a reference to the timer in awake, and you will need to call <a href=\"https:\/\/docs.unity3d.com\/ScriptReference\/Object.DontDestroyOnLoad.html\" target=\"_blank\" rel=\"noreferrer noopener\" title=\"DontDestroyOnLoad(timer)\">DontDestroyOnLoad(timer)<\/a> somewhere in your game manager. This will cause the timer to persist between scenes. You will then need to call StopTimer() and StartTimer() at the beginning of each scene to reset it. <\/p>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-pb-accordion-item c-accordion__item js-accordion-item no-js\" data-initially-open=\"false\" data-click-to-close=\"true\" data-auto-close=\"true\" data-scroll=\"false\" data-scroll-offset=\"0\"><h2 id=\"at-11523\" class=\"c-accordion__title js-accordion-controller\" role=\"button\">My timer looks blurry<\/h2><div id=\"ac-11523\" class=\"c-accordion__content\">\n<p>Depending on the size of your timer screen wise it may show blurry. In the &#8216;Sprites&#8217; folder, you can find high-resolution sprites of each of the dials. If your dial covers most of the screen, these are going to look best, otherwise, the defaults should work fine. For the sliders, as they use unity&#8217;s sliders they should scale accordingly. <\/p>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-pb-accordion-item c-accordion__item js-accordion-item no-js\" data-initially-open=\"false\" data-click-to-close=\"true\" data-auto-close=\"true\" data-scroll=\"false\" data-scroll-offset=\"0\"><h2 id=\"at-11524\" class=\"c-accordion__title js-accordion-controller\" role=\"button\">Can I use different designs for the display?<\/h2><div id=\"ac-11524\" class=\"c-accordion__content\">\n<p>Absolutely! The timer system is set up to use a range of outputs including text and textmeshpro, sliders and dials. You can design your slider and attach it to the timer under &#8216;output type&#8217;. Make sure it is the unity slider object. For your own dial design, place your own design in &#8216;source image&#8217; and make sure the options are set to &#8216;filled&#8217;, &#8216;radial 360&#8217; and &#8216;top&#8217;. <\/p>\n<\/div><\/div>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"comment_status":"open","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":[14],"doc_tag":[],"class_list":["post-1152","docs","type-docs","status-publish","hentry","doc_category-timersmadeeasy"],"acf":[],"aioseo_notices":[],"year_month":"2026-04","word_count":342,"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":"Timers Made Easy","term_url":"https:\/\/golemitegames.com\/index.php\/docs-category\/timersmadeeasy\/"}],"doc_tag_info":[],"_links":{"self":[{"href":"https:\/\/golemitegames.com\/index.php\/wp-json\/wp\/v2\/docs\/1152","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=1152"}],"version-history":[{"count":11,"href":"https:\/\/golemitegames.com\/index.php\/wp-json\/wp\/v2\/docs\/1152\/revisions"}],"predecessor-version":[{"id":1191,"href":"https:\/\/golemitegames.com\/index.php\/wp-json\/wp\/v2\/docs\/1152\/revisions\/1191"}],"wp:attachment":[{"href":"https:\/\/golemitegames.com\/index.php\/wp-json\/wp\/v2\/media?parent=1152"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/golemitegames.com\/index.php\/wp-json\/wp\/v2\/doc_category?post=1152"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/golemitegames.com\/index.php\/wp-json\/wp\/v2\/doc_tag?post=1152"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}