{"provider_url":"https://hatena.blog","author_name":"guppi_vrchat","categories":["Unity"],"published":"2022-10-04 20:36:20","type":"rich","height":"190","url":"https://guppi-vlog.hatenablog.com/entry/2022/10/04/203620","blog_title":"guppi\u2019s blog","provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/guppi_vrchat/","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fguppi-vlog.hatenablog.com%2Fentry%2F2022%2F10%2F04%2F203620\" title=\"gameobject\u306fcomponent\u3067\u306f\u306a\u3044\u306e\u306d - guppi\u2019s blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","title":"gameobject\u306fcomponent\u3067\u306f\u306a\u3044\u306e\u306d","blog_url":"https://guppi-vlog.hatenablog.com/","description":"MissingComponentException: There is no 'GameObject' attached to the \"ThirdSaitenButton\" game object, but a script is trying to access it. \u306e\u3088\u3046\u306b\u30a8\u30e9\u30fc\u304c\u51fa\u305f\u304c\u89e3\u6c7a\u3057\u305f\u305f\u3081\u5099\u5fd8\u7528 \u30b9\u30af\u30ea\u30d7\u30c8\u304b\u3089\u81ea\u8eab\u306egameObject\u3092\u6271\u3044\u305f\u3044\u5834\u5408\u306f var obj = this.GetComponent <GameObject>(); \u3067\u306f\u53d6\u5f97\u3067\u304d\u305a\u3001 var obj = gameObject \u3068\u5165\u529b\u3067\u53d6\u5f97\u3067\u304d\u308b\u3002\u3042\u304f\u307e\u3067GameObject\u306f\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3067\u306f\u306a\u3044\u305f\u3081\u2026","image_url":null,"width":"100%"}