{"id":48,"date":"2025-06-01T14:45:04","date_gmt":"2025-06-01T05:45:04","guid":{"rendered":"https:\/\/aisleblog.com\/?p=48"},"modified":"2025-06-01T20:37:53","modified_gmt":"2025-06-01T11:37:53","slug":"%e7%ac%ac%e4%b8%80%e5%9b%9e%e3%80%8chelloworld%e3%82%92%e8%a1%a8%e7%a4%ba%e3%81%97%e3%81%a6%e3%81%bf%e3%82%88%e3%81%86%e3%80%8d","status":"publish","type":"post","link":"https:\/\/aisleblog.com\/?p=48","title":{"rendered":"\u7b2c1\u56de\u300cHelloWorld\u3092\u8868\u793a\u3057\u3066\u307f\u3088\u3046\u300d"},"content":{"rendered":"\n<p>\u672c\u8a18\u4e8b\u306fUnity C#\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306b\u3064\u3044\u3066\u306e\u5099\u5fd8\u9332\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u4eca\u56de\u306fHelloWorld\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u66f8\u3044\u3066\u307f\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading jinr-heading d--bold\">\u307e\u305a\u306f\u5b9f\u8df5\uff01<\/h3>\n\n\n\n<p>\uff11\uff0e\u300c\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30a6\u30a3\u30f3\u30c9\u30a6\u300d\u3067\u53f3\u30af\u30ea\u30c3\u30af\u3057\u3001\u30e1\u30cb\u30e5\u30fc\u306e\u300c\u4f5c\u6210\u300d\u2192\u300cMonoBehavior\u30b9\u30af \u3000\u30ea\u30d7\u30c8\u300d\u3092\u9078\u629e\u3002C#\u30b9\u30af\u30ea\u30d7\u30c8\u304c\u4f5c\u6210\u3055\u308c\u308b\u306e\u3067\u540d\u524d\u3092\u300cHelloWorld\u300d\u306b\u3059\u308b\u3002<\/p>\n\n\n\n<p>\uff12\uff0e\u4f5c\u6210\u3055\u308c\u305f\u30b9\u30af\u30ea\u30d7\u30c8\u958b\u304d\u3001\u4e0b\u8a18\u306e\u30b3\u30fc\u30c9\u3092\u8a18\u8ff0\u307e\u305f\u306f\u8cbc\u308a\u4ed8\u3051\u3066\u4fdd\u5b58\u3059\u308b\u3002<\/p>\n\n\n\n<section class=\"wp-block-jinr-blocks-syntax-hl b--jinr-block b--jinr-highlighter d--highlighter-height-auto t--round\" data-block-id=\"68b70dd2-1ee8-47d6-a0f6-7008dcbe8074\"><pre class=\"language-csharp line-numbers\"><code>using UnityEngine;\n\npublic class HelloWorld : MonoBehaviour\n{\n    void Start()\n    {\n        Debug.Log(\"Hello World\");\n    }\n}<\/code><\/pre><\/section>\n\n\n\n<p>\uff13\uff0eUnity\u30a8\u30c7\u30a3\u30bf\u306b\u623b\u308a\u3001\u300c\u30d2\u30a8\u30e9\u30eb\u30ad\u30fc\u30a6\u30a3\u30f3\u30c9\u30a6\u300d\u3067\u53f3\u30af\u30ea\u30c3\u30af\u3057\u3001\u300c\u7a7a\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u300d\u3092\u4f5c\u6210\u3059\u308b\u3002(\u540d\u524d\u306f\u4f55\u3067\u3082\u3088\u3044\u3002)<\/p>\n\n\n\n<p>\uff14\uff0e\u4f5c\u6210\u3057\u305f\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u9078\u629e\u3057\u3001\u300cHelloWorld\u300d\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u300c\u30a4\u30f3\u30b9\u30da\u30af\u30bf\u30fc\u30a6\u30a3\u30f3\u30c9\u30a6\u300d\u306b\u30c9\u30e9\u30c3\u30b0\uff06\u30c9\u30ed\u30c3\u30d7\u3002<\/p>\n\n\n\n<p>\uff15\uff0e\u300c\u30c4\u30fc\u30eb\u30d0\u30fc\u300d\u306e\u518d\u751f\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u3001\u4e0b\u306e\u753b\u50cf\u306e\u3088\u3046\u306b\u30b3\u30f3\u30bd\u30fc\u30eb\u306b\u300cHelloWorld\u300d\u3068\u8868\u793a\u3055\u308c\u308b\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"460\" height=\"93\" src=\"https:\/\/aisleblog.com\/wp-content\/uploads\/2025\/06\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2025-06-01-143653-e1748756909923.png\" alt=\"\" class=\"wp-image-53\" srcset=\"https:\/\/aisleblog.com\/wp-content\/uploads\/2025\/06\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2025-06-01-143653-e1748756909923.png 460w, https:\/\/aisleblog.com\/wp-content\/uploads\/2025\/06\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2025-06-01-143653-e1748756909923-300x61.png 300w\" sizes=\"auto, (max-width: 460px) 100vw, 460px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading jinr-heading d--bold\">\u89e3\u8aac<\/h3>\n\n\n\n<h4 class=\"wp-block-heading jinr-heading d--bold\">using UnityEngine;<\/h4>\n\n\n\n<p>Unity\u306e\u6a5f\u80fd\u3092\u4f7f\u7528\u3059\u308b\u305f\u3081\u306e\u5ba3\u8a00\u3067\u3059\u3002<code>UnityEngine<\/code>\u306fUnity\u306e\u57fa\u672c\u7684\u306a\u30af\u30e9\u30b9\u3084\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u96c6\u3081\u3089\u308c\u305f\u540d\u524d\u7a7a\u9593\u3067\u3001\u3053\u308c\u3092\u4f7f\u3063\u3066\u30b2\u30fc\u30e0\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3084\u753b\u9762\u63cf\u753b\u3001\u97f3\u58f0\u306a\u3069\u3092\u64cd\u4f5c\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading jinr-heading d--bold\">public class HelloWorld : MonoBehaviour<\/h4>\n\n\n\n<p>\u3053\u3053\u3067\u306f\u3001<code>HelloWorld<\/code>\u3068\u3044\u3046\u30af\u30e9\u30b9\u3092\u5b9a\u7fa9\u3057\u3066\u3044\u307e\u3059\u3002Unity\u3067\u306f\u3001<code>MonoBehaviour<\/code>\u3092\u7d99\u627f\u3057\u305f\u30af\u30e9\u30b9\u3092\u4f5c\u308b\u3053\u3068\u304c\u57fa\u672c\u3068\u306a\u308a\u307e\u3059\u3002<code>MonoBehaviour<\/code>\u3092\u4f7f\u3063\u305f\u30b9\u30af\u30ea\u30d7\u30c8\u306f\u3001\u30b2\u30fc\u30e0\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u30a2\u30bf\u30c3\u30c1\u3059\u308b\u3053\u3068\u3067\u521d\u3081\u3066\u52d5\u4f5c\u3092\u59cb\u3081\u307e\u3059\u3002\u30b2\u30fc\u30e0\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u30a2\u30bf\u30c3\u30c1\u3059\u308b\u3053\u3068\u304c\u3001Unity\u306b\u304a\u3051\u308b\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u57fa\u672c\u7684\u306a\u4f7f\u3044\u65b9\u306e\u4e00\u3064\u3067\u3059\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading jinr-heading d--bold\">void Start()<\/h4>\n\n\n\n<p><code>Start()<\/code>\u306f\u3001Unity\u306e\u30b2\u30fc\u30e0\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u304c\u30b7\u30fc\u30f3\u5185\u3067\u30a2\u30af\u30c6\u30a3\u30d6\u306b\u306a\u3063\u305f\u3068\u304d\u306b\u6700\u521d\u306b\u547c\u3070\u308c\u308b\u30e1\u30bd\u30c3\u30c9\u3067\u3059\u3002\u4eca\u56de\u306f\u3053\u3053\u3067\u300cHello World\u300d\u3092\u8868\u793a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading jinr-heading d--bold\">Debug.Log(&#8220;Hello World&#8221;);<\/h4>\n\n\n\n<p>Unity\u306e\u30b3\u30f3\u30bd\u30fc\u30eb\u306b\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u8868\u793a\u3059\u308b\u305f\u3081\u306e\u30b3\u30fc\u30c9\u3067\u3059\u3002<code>Debug.Log<\/code>\u306f\u958b\u767a\u4e2d\u306b\u30c7\u30d0\u30c3\u30b0\u7528\u306e\u60c5\u5831\u3092\u8868\u793a\u3059\u308b\u305f\u3081\u306b\u4f7f\u308f\u308c\u307e\u3059\u3002\u5f15\u6570\u3068\u3057\u3066\u6e21\u3055\u308c\u305f\u6587\u5b57\u5217\u304c\u30b3\u30f3\u30bd\u30fc\u30eb\u306b\u51fa\u529b\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u672c\u8a18\u4e8b\u306fUnity C#\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306b\u3064\u3044\u3066\u306e\u5099\u5fd8\u9332\u3067\u3059\u3002 \u4eca\u56de\u306fHelloWorld\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u66f8\u3044\u3066\u307f\u307e\u3059\u3002 \u307e\u305a\u306f\u5b9f\u8df5\uff01 \uff11\uff0e\u300c\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30a6\u30a3\u30f3\u30c9\u30a6\u300d\u3067\u53f3\u30af\u30ea\u30c3\u30af\u3057\u3001\u30e1\u30cb\u30e5\u30fc\u306e\u300c\u4f5c\u6210\u300d\u2192\u300cMonoBehavio [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":92,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jinr_url_youtube":"","_jinr_pip_youtube":false,"_jinr_time_youtube":"","_jinr_thumb_youtube":"","_jinr_media_youtube":"","_jinr_category_edit":false,"_jinr_category":"","_jinr_title_display":false,"_jinr_snsbutton_display":false,"_jinr_ads_display":false,"_jinr_thumbnail_display":false,"_jinr_profile_display":false,"_jinr_representations_display":false,"_jinr_relatedpost_display":false,"_jinr_sidebar1col_display":false,"_jinr_sidebar2col_display":false,"_jinr_seotitle_display":"","_jinr_description_display":"","_jinr_keyword_display":"","_jinr_hastag_display":"","_jinr_canonical_display":"","_jinr_noindex_display":false,"_jinr_paidpost":false,"_jinr_paidpost_product_id":"","_jinr_headtag_article":"","_jinr_ogp_image_url":"https:\/\/aisleblog.com\/wp-content\/uploads\/2025\/06\/thumbnails-ogp-48.png","_jinr_last_featured_id":100,"footnotes":""},"categories":[5],"tags":[],"class_list":["post-48","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-unity"],"views":"7","_links":{"self":[{"href":"https:\/\/aisleblog.com\/index.php?rest_route=\/wp\/v2\/posts\/48","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aisleblog.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/aisleblog.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/aisleblog.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/aisleblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=48"}],"version-history":[{"count":8,"href":"https:\/\/aisleblog.com\/index.php?rest_route=\/wp\/v2\/posts\/48\/revisions"}],"predecessor-version":[{"id":102,"href":"https:\/\/aisleblog.com\/index.php?rest_route=\/wp\/v2\/posts\/48\/revisions\/102"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/aisleblog.com\/index.php?rest_route=\/wp\/v2\/media\/92"}],"wp:attachment":[{"href":"https:\/\/aisleblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=48"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aisleblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=48"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aisleblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=48"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}