{"id":2451,"date":"2019-05-25T19:05:43","date_gmt":"2019-05-25T19:05:43","guid":{"rendered":"http:\/\/www.incredigeek.com\/home\/?p=2451"},"modified":"2019-05-25T19:07:29","modified_gmt":"2019-05-25T19:07:29","slug":"playmaker-camera-fade-in-out-blinks-after-fade-is-complete-unity","status":"publish","type":"post","link":"https:\/\/www.incredigeek.com\/home\/playmaker-camera-fade-in-out-blinks-after-fade-is-complete-unity\/","title":{"rendered":"PlayMaker camera fade in\/out blinks after fade is complete &#8211; Unity"},"content":{"rendered":"\n<p>Looks that the issue has something to do with the fade event not being on the camera directly.  Work around is to create a FSM on the main camera to fade in when the scene starts, have a bool that gets turned to true when the scene ends.  Then the FSM on the camera fades out.<\/p>\n\n\n\n<p>Example FSM on the main player camera<\/p>\n\n\n\n<figure class=\"wp-block-image is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2019\/05\/image-2-1024x293.png\" alt=\"\" class=\"wp-image-2454\" width=\"1017\" height=\"291\" srcset=\"https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2019\/05\/image-2-1024x293.png 1024w, https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2019\/05\/image-2-300x86.png 300w, https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2019\/05\/image-2-768x220.png 768w, https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2019\/05\/image-2-500x143.png 500w, https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2019\/05\/image-2.png 1248w\" sizes=\"auto, (max-width: 1017px) 100vw, 1017px\" \/><\/figure>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Looks that the issue has something to do with the fade event not being on the camera directly. Work around is to create a FSM on the main camera to fade in when the scene starts, have a bool that &hellip; <a href=\"https:\/\/www.incredigeek.com\/home\/playmaker-camera-fade-in-out-blinks-after-fade-is-complete-unity\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[325],"tags":[193,607,605,326,327],"class_list":["post-2451","post","type-post","status-publish","format-standard","hentry","category-unity3d","tag-camera","tag-fsm","tag-playmaker","tag-unity","tag-unity3d"],"_links":{"self":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/2451","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/comments?post=2451"}],"version-history":[{"count":2,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/2451\/revisions"}],"predecessor-version":[{"id":2455,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/2451\/revisions\/2455"}],"wp:attachment":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/media?parent=2451"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/categories?post=2451"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/tags?post=2451"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}