{"id":24922,"date":"2024-10-26T04:24:51","date_gmt":"2024-10-26T04:24:51","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=24922"},"modified":"2024-11-26T08:03:25","modified_gmt":"2024-11-26T08:03:25","slug":"%ec%9c%a0%eb%8b%88%ed%8b%b0-%ea%b8%b0%ec%b4%88-%ea%b0%95%ec%a2%8c-%ec%bb%b4%ed%8f%ac%eb%84%8c%ed%8a%b8-%ea%b0%80%ec%a0%b8%ec%98%a4%ea%b8%b0-getcomponent","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/24922\/","title":{"rendered":"\uc720\ub2c8\ud2f0 \uae30\ucd08 \uac15\uc88c: \ucef4\ud3ec\ub10c\ud2b8 \uac00\uc838\uc624\uae30 &#8211; GetComponent<T>()"},"content":{"rendered":"<p><body><\/p>\n<p>\uc720\ub2c8\ud2f0\ub294 \ub2e4\uc591\ud55c \ucef4\ud3ec\ub10c\ud2b8\ub97c \ud1b5\ud574 \uac8c\uc784 \uc624\ube0c\uc81d\ud2b8\uc758 \uae30\ub2a5\uc744 \ud655\uc7a5\ud560 \uc218 \uc788\ub294 \uac15\ub825\ud55c \uc5d4\uc9c4\uc785\ub2c8\ub2e4. <code>GetComponent&lt;T&gt;()<\/code> \uba54\uc18c\ub4dc\ub294 \uc774 \ucef4\ud3ec\ub10c\ud2b8\ub97c \uc0ac\uc6a9\ud558\uc5ec \ud604\uc7ac \uac8c\uc784 \uc624\ube0c\uc81d\ud2b8\uc5d0 \ucd94\uac00\ub41c \uc2a4\ud06c\ub9bd\ud2b8\ub098 \uae30\ub2a5\uc744 \uac00\uc838\uc624\ub294 \ud575\uc2ec\uc801\uc778 \ubc29\ubc95\uc785\ub2c8\ub2e4. \uc774 \uae00\uc5d0\uc11c\ub294 <code>GetComponent&lt;T&gt;()<\/code> \uba54\uc18c\ub4dc\uc5d0 \ub300\ud55c \uae4a\uc774 \uc788\ub294 \uc124\uba85\uacfc \uc0ac\uc6a9 \uc608\uc81c, \ucd5c\uc801\ud654 \uae30\ubc95 \ub4f1\uc744 \uc18c\uac1c\ud558\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<h2>1. GetComponent&lt;T&gt;() \uae30\ubcf8 \uac1c\ub150<\/h2>\n<p>\uc720\ub2c8\ud2f0\uc758 \ubaa8\ub4e0 \uac8c\uc784 \uc624\ube0c\uc81d\ud2b8\ub294 \ub2e4\uc591\ud55c \ucef4\ud3ec\ub10c\ud2b8\ub97c \ubd99\uc5ec\uc11c \uae30\ub2a5\uacfc \ub370\uc774\ud130\ub97c \ucd94\uac00\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc608\ub97c \ub4e4\uc5b4, \ubb3c\ub9ac\uc801 \ud2b9\uc131\uc744 \ucd94\uac00\ud560 \ub54c\ub294 <code>Rigidbody<\/code> \ucef4\ud3ec\ub10c\ud2b8\ub97c, \ucda9\ub3cc \ucc98\ub9ac\ub97c \uc704\ud574\uc11c\ub294 <code>Collider<\/code> \ucef4\ud3ec\ub10c\ud2b8\ub97c \ucd94\uac00\ud569\ub2c8\ub2e4. <code>GetComponent&lt;T&gt;()<\/code> \uba54\uc18c\ub4dc\ub294 \uc774\ub7ec\ud55c \ucef4\ud3ec\ub10c\ud2b8\ub97c \ucf54\ub4dc\uc5d0\uc11c \uc811\uadfc\ud558\uace0 \uc870\uc791\ud558\uae30 \uc704\ud55c \ubc29\ubc95\uc785\ub2c8\ub2e4.<\/p>\n<h3>1.1 \uc81c\ub124\ub9ad \ud0c0\uc785 T<\/h3>\n<p>\uc804\ubc18\uc801\uc73c\ub85c, <code>GetComponent<\/code> \uba54\uc18c\ub4dc\ub294 \uc81c\ub124\ub9ad\ud568\uc218\ub97c \uc0ac\uc6a9\ud558\uc5ec, \uc6b0\ub9ac\uac00 \uac00\uc838\uc624\uace0\uc790 \ud558\ub294 \ud0c0\uc785\uc744 \uc81c\ub124\ub9ad \ub9e4\uac1c\ubcc0\uc218 <code>T<\/code>\ub85c \ub300\uccb4\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc608\ub97c \ub4e4\uc5b4, <code>GetComponent&lt;Rigidbody&gt;()<\/code>\ub77c\uace0 \ud638\ucd9c\ud558\uba74 \ud574\ub2f9 \uac8c\uc784 \uc624\ube0c\uc81d\ud2b8\uc758 <code>Rigidbody<\/code> \ucef4\ud3ec\ub10c\ud2b8\ub97c \ubc18\ud658\ud569\ub2c8\ub2e4.<\/p>\n<pre><code>Rigidbody rb = GetComponent&lt;Rigidbody&gt;();<\/code><\/pre>\n<h2>2. GetComponent&lt;T&gt;() \uc0ac\uc6a9\ubc95<\/h2>\n<p>\uc774\uc81c <code>GetComponent&lt;T&gt;()<\/code>\ub97c \uc2e4\uc81c \ucf54\ub4dc\uc5d0\uc11c \uc5b4\ub5bb\uac8c \uc0ac\uc6a9\ud558\ub294\uc9c0 \uc0b4\ud3b4\ubcf4\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<h3>2.1 \uae30\ubcf8 \uc0ac\uc6a9<\/h3>\n<p>\uac00\uc7a5 \uc77c\ubc18\uc801\uc778 \uc0ac\uc6a9 \uc608\ub294 \ub2e4\ub978 \ucef4\ud3ec\ub10c\ud2b8\ub97c \uac00\uc838\uc640\uc11c \uadf8 \uc18d\uc131\uc774\ub098 \uba54\uc18c\ub4dc\ub97c \uc0ac\uc6a9\ud558\ub294 \uac83\uc785\ub2c8\ub2e4.<\/p>\n<pre><code>using UnityEngine;\n\npublic class Player : MonoBehaviour\n{\n    private Rigidbody rb;\n\n    void Start()\n    {\n        \/\/ Get the Rigidbody component attached to this GameObject\n        rb = GetComponent&lt;Rigidbody&gt;();\n    }\n\n    void Update()\n    {\n        \/\/ Apply force to the Rigidbody\n        rb.AddForce(Vector3.forward * 10);\n    }\n}<\/code><\/pre>\n<h3>2.2 \ucef4\ud3ec\ub10c\ud2b8\uac00 \uc5c6\ub294 \uacbd\uc6b0<\/h3>\n<p>\ub54c\ub54c\ub85c, \uc6b0\ub9ac\uac00 \uc694\uccad\ud558\ub294 \ucef4\ud3ec\ub10c\ud2b8\uac00 \uc874\uc7ac\ud558\uc9c0 \uc54a\uc744 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc774 \uacbd\uc6b0, <code>GetComponent&lt;T&gt;()<\/code>\ub294 null\uc744 \ubc18\ud658\ud569\ub2c8\ub2e4. \uc774\ub97c \ucc98\ub9ac\ud558\ub294 \uac83\uc774 \uc911\uc694\ud569\ub2c8\ub2e4.<\/p>\n<pre><code>void Start()\n{\n    rb = GetComponent&lt;Rigidbody&gt;();\n    if (rb == null)\n    {\n        Debug.LogError(\"Rigidbody \ucef4\ud3ec\ub10c\ud2b8\ub97c \ucc3e\uc744 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4!\");\n    }\n}<\/code><\/pre>\n<h2>3. GetComponent&lt;T&gt;()\uc758 \uc131\ub2a5<\/h2>\n<p><code>GetComponent&lt;T&gt;()<\/code> \uba54\uc18c\ub4dc\ub294 \ub9e4\uc6b0 \uc720\uc6a9\ud558\uc9c0\ub9cc, \uac1c\ubc1c\uc790\uac00 \ucf54\ub4dc\uc5d0\uc11c \uc790\uc8fc \ud638\ucd9c\ud558\uba74 \uc131\ub2a5\uc5d0 \ubd80\uc815\uc801\uc778 \uc601\ud5a5\uc744 \ubbf8\uce60 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc774 \uba54\uc18c\ub4dc\ub97c \ub9e4 \ud504\ub808\uc784\ub9c8\ub2e4 \ud638\ucd9c\ud558\ub294 \uac83\uc740 \ud53c\ud574\uc57c \ud558\uba70, \uce90\uc2f1 \uae30\ubc95\uc744 \uc0ac\uc6a9\ud558\uc5ec \uc131\ub2a5\uc744 \ud5a5\uc0c1\uc2dc\ud0ac \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h3>3.1 \uce90\uc2f1\uc608\uc2dc<\/h3>\n<pre><code>private Rigidbody rb;\n\nvoid Awake()\n{\n    rb = GetComponent&lt;Rigidbody&gt;();\n}<\/code><\/pre>\n<p>\uc704 \ucf54\ub4dc\ub294 <code>Awake()<\/code> \uba54\uc18c\ub4dc\uc5d0\uc11c \ud55c \ubc88\ub9cc <code>GetComponent&lt;T&gt;()<\/code>\ub97c \ud638\ucd9c\ud558\uc5ec, \ubd88\ud544\uc694\ud55c \ud638\ucd9c\uc744 \ud53c\ud558\uace0 \ucd5c\uc801\ud654\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h2>4. \uae30\ud0c0 \uc720\uc6a9\ud55c GetComponent \uba54\uc18c\ub4dc<\/h2>\n<p>\uc720\ub2c8\ud2f0\uc5d0\uc11c\ub294 <code>GetComponent&lt;T&gt;()<\/code> \uc678\uc5d0\ub3c4 \ub2e4\uc591\ud55c \uba54\uc18c\ub4dc\ub97c \uc81c\uacf5\ud558\uc5ec \ucef4\ud3ec\ub10c\ud2b8\ub97c \uc870\uc791\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc608\ub97c \ub4e4\uc5b4, <code>GetComponents&lt;T&gt;()<\/code>\ub294 \ud574\ub2f9 \uc624\ube0c\uc81d\ud2b8\uc5d0 \ucd94\uac00\ub41c \ubaa8\ub4e0 \ucef4\ud3ec\ub10c\ud2b8\ub97c \ubc30\uc5f4\ub85c \ubc18\ud658\ud569\ub2c8\ub2e4.<\/p>\n<pre><code>Collider[] colliders = GetComponents&lt;Collider&gt;();<\/code><\/pre>\n<h2>5. Conclusion<\/h2>\n<p>\uc5ec\uae30\uae4c\uc9c0 <code>GetComponent&lt;T&gt;()<\/code> \uba54\uc18c\ub4dc\uc758 \uae30\ubcf8 \uac1c\ub150\uacfc \uc0ac\uc6a9\ubc95, \uc131\ub2a5\uc5d0 \ub300\ud55c \uc124\uba85\uc744 \uc9c4\ud589\ud588\uc2b5\ub2c8\ub2e4. \uc774 \uba54\uc18c\ub4dc\ub294 \uc720\ub2c8\ud2f0 \uac1c\ubc1c\uc5d0\uc11c \ub9e4\uc6b0 \uc911\uc694\ud55c \ubd80\ubd84\uc774\uba70, \uc801\uc808\ud55c \uc0ac\uc6a9\ubc95\uc744 \uc775\ud788\uba74 \uc720\ub2db \uac04\uc758 \uc0c1\ud638\uc791\uc6a9\uc744 \ud6a8\uc728\uc801\uc73c\ub85c \uad00\ub9ac\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<p>\uc55e\uc73c\ub85c\ub3c4 \uc720\ub2c8\ud2f0\ub85c \uac8c\uc784 \uac1c\ubc1c\uc744 \ud558\ub294 \ub370 \uc788\uc5b4 \uc774 \uba54\uc18c\ub4dc\uc640 \ub2e4\uc591\ud55c \ucef4\ud3ec\ub10c\ud2b8\uc5d0 \ub300\ud55c \uc774\ud574\ub3c4\ub97c \ub192\uc774\ub294 \uac83\uc774 \ud544\uc694\ud569\ub2c8\ub2e4. \ud56d\uc0c1 \uc0c8\ub85c\uc6b4 \ud559\uc2b5\uc744 \ucd94\uad6c\ud558\uc138\uc694!<\/p>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\uc720\ub2c8\ud2f0\ub294 \ub2e4\uc591\ud55c \ucef4\ud3ec\ub10c\ud2b8\ub97c \ud1b5\ud574 \uac8c\uc784 \uc624\ube0c\uc81d\ud2b8\uc758 \uae30\ub2a5\uc744 \ud655\uc7a5\ud560 \uc218 \uc788\ub294 \uac15\ub825\ud55c \uc5d4\uc9c4\uc785\ub2c8\ub2e4. GetComponent&lt;T&gt;() \uba54\uc18c\ub4dc\ub294 \uc774 \ucef4\ud3ec\ub10c\ud2b8\ub97c \uc0ac\uc6a9\ud558\uc5ec \ud604\uc7ac \uac8c\uc784 \uc624\ube0c\uc81d\ud2b8\uc5d0 \ucd94\uac00\ub41c \uc2a4\ud06c\ub9bd\ud2b8\ub098 \uae30\ub2a5\uc744 \uac00\uc838\uc624\ub294 \ud575\uc2ec\uc801\uc778 \ubc29\ubc95\uc785\ub2c8\ub2e4. \uc774 \uae00\uc5d0\uc11c\ub294 GetComponent&lt;T&gt;() \uba54\uc18c\ub4dc\uc5d0 \ub300\ud55c \uae4a\uc774 \uc788\ub294 \uc124\uba85\uacfc \uc0ac\uc6a9 \uc608\uc81c, \ucd5c\uc801\ud654 \uae30\ubc95 \ub4f1\uc744 \uc18c\uac1c\ud558\uaca0\uc2b5\ub2c8\ub2e4. 1. GetComponent&lt;T&gt;() \uae30\ubcf8 \uac1c\ub150 \uc720\ub2c8\ud2f0\uc758 \ubaa8\ub4e0 \uac8c\uc784 \uc624\ube0c\uc81d\ud2b8\ub294 \ub2e4\uc591\ud55c \ucef4\ud3ec\ub10c\ud2b8\ub97c \ubd99\uc5ec\uc11c \uae30\ub2a5\uacfc \ub370\uc774\ud130\ub97c \ucd94\uac00\ud560 \uc218 &hellip; <a href=\"https:\/\/atmokpo.com\/w\/24922\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;\uc720\ub2c8\ud2f0 \uae30\ucd08 \uac15\uc88c: \ucef4\ud3ec\ub10c\ud2b8 \uac00\uc838\uc624\uae30 &#8211; GetComponent<T>()&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[13],"tags":[],"class_list":["post-24922","post","type-post","status-publish","format-standard","hentry","category-13"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\uc720\ub2c8\ud2f0 \uae30\ucd08 \uac15\uc88c: \ucef4\ud3ec\ub10c\ud2b8 \uac00\uc838\uc624\uae30 - GetComponent() - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/atmokpo.com\/w\/24922\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\uc720\ub2c8\ud2f0 \uae30\ucd08 \uac15\uc88c: \ucef4\ud3ec\ub10c\ud2b8 \uac00\uc838\uc624\uae30 - GetComponent() - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"\uc720\ub2c8\ud2f0\ub294 \ub2e4\uc591\ud55c \ucef4\ud3ec\ub10c\ud2b8\ub97c \ud1b5\ud574 \uac8c\uc784 \uc624\ube0c\uc81d\ud2b8\uc758 \uae30\ub2a5\uc744 \ud655\uc7a5\ud560 \uc218 \uc788\ub294 \uac15\ub825\ud55c \uc5d4\uc9c4\uc785\ub2c8\ub2e4. GetComponent&lt;T&gt;() \uba54\uc18c\ub4dc\ub294 \uc774 \ucef4\ud3ec\ub10c\ud2b8\ub97c \uc0ac\uc6a9\ud558\uc5ec \ud604\uc7ac \uac8c\uc784 \uc624\ube0c\uc81d\ud2b8\uc5d0 \ucd94\uac00\ub41c \uc2a4\ud06c\ub9bd\ud2b8\ub098 \uae30\ub2a5\uc744 \uac00\uc838\uc624\ub294 \ud575\uc2ec\uc801\uc778 \ubc29\ubc95\uc785\ub2c8\ub2e4. \uc774 \uae00\uc5d0\uc11c\ub294 GetComponent&lt;T&gt;() \uba54\uc18c\ub4dc\uc5d0 \ub300\ud55c \uae4a\uc774 \uc788\ub294 \uc124\uba85\uacfc \uc0ac\uc6a9 \uc608\uc81c, \ucd5c\uc801\ud654 \uae30\ubc95 \ub4f1\uc744 \uc18c\uac1c\ud558\uaca0\uc2b5\ub2c8\ub2e4. 1. GetComponent&lt;T&gt;() \uae30\ubcf8 \uac1c\ub150 \uc720\ub2c8\ud2f0\uc758 \ubaa8\ub4e0 \uac8c\uc784 \uc624\ube0c\uc81d\ud2b8\ub294 \ub2e4\uc591\ud55c \ucef4\ud3ec\ub10c\ud2b8\ub97c \ubd99\uc5ec\uc11c \uae30\ub2a5\uacfc \ub370\uc774\ud130\ub97c \ucd94\uac00\ud560 \uc218 &hellip; \ub354 \ubcf4\uae30 &quot;\uc720\ub2c8\ud2f0 \uae30\ucd08 \uac15\uc88c: \ucef4\ud3ec\ub10c\ud2b8 \uac00\uc838\uc624\uae30 &#8211; GetComponent()&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/24922\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-10-26T04:24:51+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T08:03:25+00:00\" \/>\n<meta name=\"author\" content=\"root\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:site\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:label1\" content=\"\uae00\uc4f4\uc774\" \/>\n\t<meta name=\"twitter:data1\" content=\"root\" \/>\n\t<meta name=\"twitter:label2\" content=\"\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/atmokpo.com\/w\/24922\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/24922\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"\uc720\ub2c8\ud2f0 \uae30\ucd08 \uac15\uc88c: \ucef4\ud3ec\ub10c\ud2b8 \uac00\uc838\uc624\uae30 &#8211; GetComponent()\",\"datePublished\":\"2024-10-26T04:24:51+00:00\",\"dateModified\":\"2024-11-26T08:03:25+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/24922\/\"},\"wordCount\":18,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"\uc720\ub2c8\ud2f0\uae30\ucd08\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/24922\/\",\"url\":\"https:\/\/atmokpo.com\/w\/24922\/\",\"name\":\"\uc720\ub2c8\ud2f0 \uae30\ucd08 \uac15\uc88c: \ucef4\ud3ec\ub10c\ud2b8 \uac00\uc838\uc624\uae30 - GetComponent() - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-10-26T04:24:51+00:00\",\"dateModified\":\"2024-11-26T08:03:25+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/24922\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/24922\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/24922\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\uc720\ub2c8\ud2f0 \uae30\ucd08 \uac15\uc88c: \ucef4\ud3ec\ub10c\ud2b8 \uac00\uc838\uc624\uae30 &#8211; GetComponent()\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/atmokpo.com\/w\/#website\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/atmokpo.com\/w\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"contentUrl\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"width\":400,\"height\":400,\"caption\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\"},\"image\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/bebubo4\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\",\"name\":\"root\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"caption\":\"root\"},\"sameAs\":[\"http:\/\/atmokpo.com\/w\"],\"url\":\"https:\/\/atmokpo.com\/w\/author\/root\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\uc720\ub2c8\ud2f0 \uae30\ucd08 \uac15\uc88c: \ucef4\ud3ec\ub10c\ud2b8 \uac00\uc838\uc624\uae30 - GetComponent() - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/atmokpo.com\/w\/24922\/","og_locale":"ko_KR","og_type":"article","og_title":"\uc720\ub2c8\ud2f0 \uae30\ucd08 \uac15\uc88c: \ucef4\ud3ec\ub10c\ud2b8 \uac00\uc838\uc624\uae30 - GetComponent() - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"\uc720\ub2c8\ud2f0\ub294 \ub2e4\uc591\ud55c \ucef4\ud3ec\ub10c\ud2b8\ub97c \ud1b5\ud574 \uac8c\uc784 \uc624\ube0c\uc81d\ud2b8\uc758 \uae30\ub2a5\uc744 \ud655\uc7a5\ud560 \uc218 \uc788\ub294 \uac15\ub825\ud55c \uc5d4\uc9c4\uc785\ub2c8\ub2e4. GetComponent&lt;T&gt;() \uba54\uc18c\ub4dc\ub294 \uc774 \ucef4\ud3ec\ub10c\ud2b8\ub97c \uc0ac\uc6a9\ud558\uc5ec \ud604\uc7ac \uac8c\uc784 \uc624\ube0c\uc81d\ud2b8\uc5d0 \ucd94\uac00\ub41c \uc2a4\ud06c\ub9bd\ud2b8\ub098 \uae30\ub2a5\uc744 \uac00\uc838\uc624\ub294 \ud575\uc2ec\uc801\uc778 \ubc29\ubc95\uc785\ub2c8\ub2e4. \uc774 \uae00\uc5d0\uc11c\ub294 GetComponent&lt;T&gt;() \uba54\uc18c\ub4dc\uc5d0 \ub300\ud55c \uae4a\uc774 \uc788\ub294 \uc124\uba85\uacfc \uc0ac\uc6a9 \uc608\uc81c, \ucd5c\uc801\ud654 \uae30\ubc95 \ub4f1\uc744 \uc18c\uac1c\ud558\uaca0\uc2b5\ub2c8\ub2e4. 1. GetComponent&lt;T&gt;() \uae30\ubcf8 \uac1c\ub150 \uc720\ub2c8\ud2f0\uc758 \ubaa8\ub4e0 \uac8c\uc784 \uc624\ube0c\uc81d\ud2b8\ub294 \ub2e4\uc591\ud55c \ucef4\ud3ec\ub10c\ud2b8\ub97c \ubd99\uc5ec\uc11c \uae30\ub2a5\uacfc \ub370\uc774\ud130\ub97c \ucd94\uac00\ud560 \uc218 &hellip; \ub354 \ubcf4\uae30 \"\uc720\ub2c8\ud2f0 \uae30\ucd08 \uac15\uc88c: \ucef4\ud3ec\ub10c\ud2b8 \uac00\uc838\uc624\uae30 &#8211; GetComponent()\"","og_url":"https:\/\/atmokpo.com\/w\/24922\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-10-26T04:24:51+00:00","article_modified_time":"2024-11-26T08:03:25+00:00","author":"root","twitter_card":"summary_large_image","twitter_creator":"@bebubo4","twitter_site":"@bebubo4","twitter_misc":{"\uae00\uc4f4\uc774":"root","\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04":"1\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/atmokpo.com\/w\/24922\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/24922\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"\uc720\ub2c8\ud2f0 \uae30\ucd08 \uac15\uc88c: \ucef4\ud3ec\ub10c\ud2b8 \uac00\uc838\uc624\uae30 &#8211; GetComponent()","datePublished":"2024-10-26T04:24:51+00:00","dateModified":"2024-11-26T08:03:25+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/24922\/"},"wordCount":18,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["\uc720\ub2c8\ud2f0\uae30\ucd08"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/24922\/","url":"https:\/\/atmokpo.com\/w\/24922\/","name":"\uc720\ub2c8\ud2f0 \uae30\ucd08 \uac15\uc88c: \ucef4\ud3ec\ub10c\ud2b8 \uac00\uc838\uc624\uae30 - GetComponent() - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-10-26T04:24:51+00:00","dateModified":"2024-11-26T08:03:25+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/24922\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/24922\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/24922\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"\uc720\ub2c8\ud2f0 \uae30\ucd08 \uac15\uc88c: \ucef4\ud3ec\ub10c\ud2b8 \uac00\uc838\uc624\uae30 &#8211; GetComponent()"}]},{"@type":"WebSite","@id":"https:\/\/atmokpo.com\/w\/#website","url":"https:\/\/atmokpo.com\/w\/","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","description":"","publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/atmokpo.com\/w\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ko-KR"},{"@type":"Organization","@id":"https:\/\/atmokpo.com\/w\/#organization","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","url":"https:\/\/atmokpo.com\/w\/","logo":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/","url":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","contentUrl":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","width":400,"height":400,"caption":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8"},"image":{"@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/bebubo4"]},{"@type":"Person","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7","name":"root","image":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","caption":"root"},"sameAs":["http:\/\/atmokpo.com\/w"],"url":"https:\/\/atmokpo.com\/w\/author\/root\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/24922","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/comments?post=24922"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/24922\/revisions"}],"predecessor-version":[{"id":24923,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/24922\/revisions\/24923"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=24922"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=24922"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=24922"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}