{"id":1540,"date":"2013-01-13T03:33:54","date_gmt":"2013-01-13T00:33:54","guid":{"rendered":"http:\/\/unitycoder.com\/blog\/?p=1540"},"modified":"2024-02-16T11:50:50","modified_gmt":"2024-02-16T09:50:50","slug":"island-demo-to-4-0","status":"publish","type":"post","link":"https:\/\/unitycoder.com\/blog\/2013\/01\/13\/island-demo-to-4-0\/","title":{"rendered":"Tropical Paradise Demo to Unity 4.0"},"content":{"rendered":"<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"1541\" data-permalink=\"https:\/\/unitycoder.com\/blog\/2013\/01\/13\/island-demo-to-4-0\/island_demo_unity4\/\" data-orig-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2013\/01\/island_demo_unity4.jpg?fit=680%2C445&amp;ssl=1\" data-orig-size=\"680,445\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"island_demo_unity4\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2013\/01\/island_demo_unity4.jpg?fit=680%2C445&amp;ssl=1\" class=\"alignnone size-full wp-image-1541\" src=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2013\/01\/island_demo_unity4.jpg?resize=680%2C445\" alt=\"island_demo_unity4\" width=\"680\" height=\"445\" srcset=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2013\/01\/island_demo_unity4.jpg?w=680&amp;ssl=1 680w, https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2013\/01\/island_demo_unity4.jpg?resize=300%2C196&amp;ssl=1 300w\" sizes=\"auto, (max-width: 680px) 100vw, 680px\" \/><\/p>\n<p><strong>Old Unity Island Demo Project To Unity 4.0 <br \/><\/strong><\/p>\n<p>*2021: Check this repo <a href=\"https:\/\/github.com\/mstevenson\/UnityIslandDemo\">https:\/\/github.com\/mstevenson\/UnityIslandDemo<\/a><\/p>\n<p><strong>** unity 2022 LTS:<\/strong> <a href=\"https:\/\/github.com\/Jocyf\/IslandDemo\">https:\/\/github.com\/Jocyf\/IslandDemo<\/a><\/p>\n<ol>\n<li>Download project from : <a href=\"http:\/\/unity3d.com\/support\/old-resources\/example-projects\/islanddemo\">http:\/\/unity3d.com\/support\/old-resources\/example-projects\/islanddemo<\/a> *link seems to be broken<br \/>** new link: <a href=\"http:\/\/www.mediafire.com\/file\/288o87oo8aejjyn\/IslandDemo.zip\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/www.mediafire.com\/file\/288o87oo8aejjyn\/IslandDemo.zip<\/a><\/li>\n<li>Unzip it<\/li>\n<li>Open project<\/li>\n<li>Upgrading.. Yes<\/li>\n<li>Fix now.. Yes<\/li>\n<li>Fix now.. Yes<\/li>\n<li>Open islands scene<\/li>\n<li>Can already see the scene in editor<\/li>\n<li>Play..cannot..errors<\/li>\n<li>Assets\/Scripts\/UnderwaterEffects.js(23,46): BCE0022: Cannot convert &#8216;UnityEngine.GameObject&#8217; to &#8216;float&#8217;.<\/li>\n<li>Lets try to modify it from:<br \/>if(water) waterLevel = water.gameObject;<br \/>to:\u00a0 (just a guess)<br \/>if(water) waterLevel = water.gameObject.position.y;<\/li>\n<li>New error comes up:<br \/>Assets\/Editor\/UpdateTreeColors.js(13,17): BCE0031: Language feature not implemented: UnityEditor.<\/li>\n<li>That is some editor script, lets disable it for now, by renaming the file to \u201cUpdateTreeColors.js<strong>_<\/strong>\u201d (in explorer, cannot do inside unity)<\/li>\n<li>Save scene as.. Island4 (just in case..)<\/li>\n<li>Play! (seems to work..?)<\/li>\n<\/ol>\n\n\n<p class=\"wp-block-paragraph\"><strong>References<\/strong><br>&#8211; Archived page (with zip download from 2013) : <a href=\"https:\/\/web.archive.org\/web\/20130107160629\/https:\/\/unity3d.com\/support\/old-resources\/example-projects\/islanddemo\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"https:\/\/web.archive.org\/web\/20130107160629\/https:\/\/unity3d.com\/support\/old-resources\/example-projects\/islanddemo (opens in a new tab)\">https:\/\/web.archive.org\/web\/20130107160629\/https:\/\/unity3d.com\/support\/old-resources\/example-projects\/islanddemo<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Old Unity Island Demo Project To Unity 4.0 *2021: Check this repo https:\/\/github.com\/mstevenson\/UnityIslandDemo ** unity 2022 LTS: https:\/\/github.com\/Jocyf\/IslandDemo Download project from : http:\/\/unity3d.com\/support\/old-resources\/example-projects\/islanddemo *link seems to be broken** new link: http:\/\/www.mediafire.com\/file\/288o87oo8aejjyn\/IslandDemo.zip Unzip it Open project Upgrading.. Yes Fix now.. Yes Fix now.. Yes Open islands [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1541,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":true,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[4,3],"tags":[389,35,387,261,388],"class_list":["post-1540","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-demos","category-unity3d","tag-convert","tag-demo","tag-island","tag-old","tag-project"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2013\/01\/island_demo_unity4.jpg?fit=680%2C445&ssl=1","jetpack_shortlink":"https:\/\/wp.me\/p1KTaT-oQ","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/1540","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/comments?post=1540"}],"version-history":[{"count":10,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/1540\/revisions"}],"predecessor-version":[{"id":5775,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/1540\/revisions\/5775"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/media\/1541"}],"wp:attachment":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/media?parent=1540"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/categories?post=1540"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/tags?post=1540"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}