{"url":"https://pc.atsuhiro-me.net/entry/2013/11/15/052650","width":"100%","blog_title":"\u307f\u30fc\u306e\u307a\u30fc\u3058","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpc.atsuhiro-me.net%2Fentry%2F2013%2F11%2F15%2F052650\" title=\"\u5225\u306eObject\u306eComponent\u306bBoo\u3067\u30a2\u30af\u30bb\u30b9\u3059\u308b\u65b9\u6cd5 - \u307f\u30fc\u306e\u307a\u30fc\u3058\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_name":"atsuhiro-me","image_url":null,"categories":["Boo"],"published":"2013-11-15 05:26:50","provider_name":"Hatena Blog","blog_url":"https://pc.atsuhiro-me.net/","version":"1.0","title":"\u5225\u306eObject\u306eComponent\u306bBoo\u3067\u30a2\u30af\u30bb\u30b9\u3059\u308b\u65b9\u6cd5","provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/atsuhiro-me/","description":"Unity\u3067\uff0c\u5225\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306b\u30a2\u30af\u30bb\u30b9\u3057\u305f\u3044\u5834\u5408\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u8868\u8a18\u3057\u307e\u3059\uff0e Boo GameObject.Find(\"<object name>\").GetComponent[of <component name>]() \u4f8b\u3048\u3070\uff0cMain Camera\u3068\u3044\u3046\u30ab\u30e1\u30e9\u306e\uff0cscore\u3068\u3044\u3046\u30b9\u30af\u30ea\u30d7\u30c8\u306escore\u3068\u3044\u3046public \u306a\u5909\u6570\u306b100\u3092\u8db3\u3057\u305f\u3044\u5834\u5408\u306f\uff0c GameObject.Find(\"Main Camera\").GetComponent[of score]().score += 100 \u3068\u306a\u308a\u307e\u3059\uff0eBoo\u3067\u306f[]\u3092\u4f7f\u3063\u3066\u578b\u3092\u6307\u5b9a\u3059\u308b\u3088\u3046\u3067\u3059\uff0e","type":"rich","height":"190"}