{"id":7529,"date":"2023-08-31T13:13:03","date_gmt":"2023-08-31T04:13:03","guid":{"rendered":"http:\/\/www.tyosuke20xx.com\/blog\/?p=7529"},"modified":"2023-08-31T13:13:05","modified_gmt":"2023-08-31T04:13:05","slug":"c-unity-test","status":"publish","type":"post","link":"http:\/\/www.tyosuke20xx.com\/blog\/?p=7529","title":{"rendered":"C# Unity Test"},"content":{"rendered":"\n<p>using System.Collections;<\/p>\n\n\n\n<p>using System.Collections.Generic;<\/p>\n\n\n\n<p>using UnityEngine;<\/p>\n\n\n\n<p>public class TestScript : MonoBehaviour<\/p>\n\n\n\n<p>{<\/p>\n\n\n\n<p>&nbsp; &nbsp; \/\/ Start is called before the first frame update<\/p>\n\n\n\n<p>&nbsp; &nbsp; void Start()<\/p>\n\n\n\n<p>&nbsp; &nbsp; {<\/p>\n\n\n\n<p>&nbsp; &nbsp; &nbsp; &nbsp;string a;<\/p>\n\n\n\n<p>&nbsp; &nbsp; &nbsp; &nbsp;string b;<\/p>\n\n\n\n<p>&nbsp; &nbsp; &nbsp; &nbsp;a = &#8220;\u771f\u7406&#8221;;<\/p>\n\n\n\n<p>&nbsp; &nbsp; &nbsp; &nbsp;b = &#8220;\u308a\u3093\u3054&#8221;;<\/p>\n\n\n\n<p>&nbsp; &nbsp; &nbsp; &nbsp;Debug.Log(a + &#8220;\u306f&#8221; + b + &#8220;\u304c\u597d\u304d\u3067\u3059\u3002&#8221;);<\/p>\n\n\n\n<p>&nbsp; &nbsp; &nbsp; &nbsp;a = &#8220;\u30de\u30ea\u30a2\u30f3\u30cc&#8221;;<\/p>\n\n\n\n<p>&nbsp; &nbsp; &nbsp; &nbsp;b = &#8220;\u30e1\u30ed\u30f3&#8221;;<\/p>\n\n\n\n<p>&nbsp; &nbsp; &nbsp; &nbsp;Debug.Log(a + &#8220;\u306f&#8221; + b + &#8220;\u597d\u304d\u3067\u3059\u3002&#8221;);<\/p>\n\n\n\n<p>&nbsp; &nbsp; }<\/p>\n\n\n\n<p>&nbsp; &nbsp; \/\/ Update is called once per frame<\/p>\n\n\n\n<p>&nbsp; &nbsp; void Update()<\/p>\n\n\n\n<p>&nbsp; &nbsp; {<\/p>\n\n\n\n<p>&nbsp; &nbsp; &nbsp; &nbsp; \/\/Debug.Log(&#8220;\u9023\u7d9a\u8868\u793a&#8221;);<\/p>\n\n\n\n<p>&nbsp; &nbsp; }<\/p>\n\n\n\n<p>}<\/p>\n","protected":false},"excerpt":{"rendered":"<p>using System.Collections; using System.Collections.Generic; using UnityEngine; public class TestScript : MonoB &hellip; <a href=\"http:\/\/www.tyosuke20xx.com\/blog\/?p=7529\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;C# Unity Test&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[33],"tags":[35,3],"class_list":["post-7529","post","type-post","status-publish","format-standard","hentry","category-c","tag-c","tag-programming"],"aioseo_notices":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"http:\/\/www.tyosuke20xx.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/7529","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.tyosuke20xx.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.tyosuke20xx.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.tyosuke20xx.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.tyosuke20xx.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7529"}],"version-history":[{"count":1,"href":"http:\/\/www.tyosuke20xx.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/7529\/revisions"}],"predecessor-version":[{"id":7530,"href":"http:\/\/www.tyosuke20xx.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/7529\/revisions\/7530"}],"wp:attachment":[{"href":"http:\/\/www.tyosuke20xx.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7529"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.tyosuke20xx.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7529"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.tyosuke20xx.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7529"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}