{"id":24872,"date":"2024-10-26T04:24:28","date_gmt":"2024-10-26T04:24:28","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=24872"},"modified":"2024-11-26T08:03:34","modified_gmt":"2024-11-26T08:03:34","slug":"%ec%9c%a0%eb%8b%88%ed%8b%b0-%ea%b8%b0%ec%b4%88-%ea%b0%95%ec%a2%8c-%ed%94%8c%eb%a0%88%ec%9d%b4%ec%96%b4-%eb%8f%99%ea%b8%b0%ed%99%94-%eb%b0%8f-%ea%b3%b5%ea%b2%a9-%eb%8f%99%ea%b8%b0%ed%99%94-rpc","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/24872\/","title":{"rendered":"\uc720\ub2c8\ud2f0 \uae30\ucd08 \uac15\uc88c: \ud50c\ub808\uc774\uc5b4 \ub3d9\uae30\ud654 \ubc0f \uacf5\uaca9 \ub3d9\uae30\ud654 (RPC \ud1b5\uc2e0)"},"content":{"rendered":"<p>\ucd5c\uadfc \uac8c\uc784 \uac1c\ubc1c\uc758 \ud2b8\ub80c\ub4dc\ub294 \uba40\ud2f0\ud50c\ub808\uc774\uc5b4 \uac8c\uc784\uc758 \uc778\uae30\uac00 \ub192\uc544\uc9d0\uc5d0 \ub530\ub77c, \ub124\ud2b8\uc6cc\ud06c \ubc0f \ub3d9\uae30\ud654\uc758 \uc911\uc694\uc131\uc774 \uac15\uc870\ub418\uace0 \uc788\uc2b5\ub2c8\ub2e4. \uc774 \uac15\uc88c\uc5d0\uc11c\ub294 \uc720\ub2c8\ud2f0(Unity)\uc5d0\uc11c \ud50c\ub808\uc774\uc5b4 \uac04\uc758 \ub3d9\uae30\ud654, \uadf8\ub9ac\uace0 \uacf5\uaca9 \ub3d9\uae30\ud654\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. RPC(Remote Procedure Call) \ud1b5\uc2e0\uc744 \uc774\uc6a9\ud558\uc5ec \ub124\ud2b8\uc6cc\ud06c\uc0c1\uc758 \ud50c\ub808\uc774\uc5b4 \uce90\ub9ad\ud130 \uac04\uc758 \uc0c1\ud638\uc791\uc6a9\uc744 \uc5b4\ub5bb\uac8c \uad6c\ud604\ud560 \uc218 \uc788\ub294\uc9c0 \uc0b4\ud3b4\ubcf4\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<h2>1. \uc720\ub2c8\ud2f0\ub780?<\/h2>\n<p>\uc720\ub2c8\ud2f0\ub294 \uac8c\uc784 \uac1c\ubc1c\uc744 \uc704\ud55c \ud1b5\ud569 \uac1c\ubc1c \ud658\uacbd(IDE)\uc785\ub2c8\ub2e4. \uc774 \ud50c\ub7ab\ud3fc\uc740 2D \ubc0f 3D \uac8c\uc784\uc758 \uac1c\ubc1c\uc744 \uc9c0\uc6d0\ud558\uba70, \ub2e4\uc591\ud55c \ud50c\ub7ab\ud3fc\uc5d0 \ubc30\ud3ec\ud560 \uc218 \uc788\ub294 \uac15\ub825\ud55c \ub3c4\uad6c\uc785\ub2c8\ub2e4. \uc720\ub2c8\ud2f0\uc5d4\uc9c4\uc740 C# \ud504\ub85c\uadf8\ub798\ubc0d \uc5b8\uc5b4\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc2a4\ud06c\ub9bd\ud2b8\ub97c \uc791\uc131\ud558\uba70, \uc9c1\uad00\uc801\uc778 \uc0ac\uc6a9\uc790 \uc778\ud130\ud398\uc774\uc2a4\ub97c \uc81c\uacf5\ud569\ub2c8\ub2e4.<\/p>\n<h2>2. \uba40\ud2f0\ud50c\ub808\uc774\uc5b4 \uac8c\uc784\uc758 \ud544\uc694\uc131<\/h2>\n<p>\ud604\ub300 \uac8c\uc784\uc5d0\uc11c\ub294 \ud50c\ub808\uc774\uc5b4\ub4e4\uc774 \uc11c\ub85c \uc0c1\ud638\uc791\uc6a9\ud560 \uc218 \uc788\ub294 \uba40\ud2f0\ud50c\ub808\uc774\uc5b4 \uacbd\ud5d8\uc774 \ud544\uc218\uc801\uc785\ub2c8\ub2e4. \ud50c\ub808\uc774\uc5b4 \ub3d9\uae30\ud654\ub294 \uc5ec\ub7ec \uc0ac\uc6a9\uc790\uac00 \ub3d9\uc77c\ud55c \uac8c\uc784 \uc138\uacc4\uc5d0\uc11c \uc11c\ub85c\uc758 \ud589\ub3d9\uc744 \uc2e4\uc2dc\uac04\uc73c\ub85c \ubc18\uc601\ud560 \uc218 \uc788\ub3c4\ub85d \ub3c4\uc640\uc90d\ub2c8\ub2e4. \uc774\ub97c \ud1b5\ud574 \ubcf4\ub2e4 \uc5ed\ub3d9\uc801\uc774\uace0 \ubab0\uc785\uac10 \uc788\ub294 \uac8c\uc784\ud50c\ub808\uc774 \uacbd\ud5d8\uc744 \uc81c\uacf5\ud569\ub2c8\ub2e4.<\/p>\n<h3>2.1 \ub3d9\uae30\ud654\uc758 \uc911\uc694\uc131<\/h3>\n<p>\ub3d9\uae30\ud654\ub294 \ub124\ud2b8\uc6cc\ud06c \uc9c0\uc5f0(latency), \ud328\ud0b7 \uc190\uc2e4 \ub4f1\uc758 \ubb38\uc81c\ub97c \uadf9\ubcf5\ud558\uace0, \ubaa8\ub4e0 \ud50c\ub808\uc774\uc5b4\uac00 \ub3d9\uc77c\ud55c \uac8c\uc784 \uc0c1\ud0dc\ub97c \uacf5\uc720\ud558\ub3c4\ub85d \ud558\ub294 \ud575\uc2ec \uc694\uc18c\uc785\ub2c8\ub2e4. \uc81c\ub300\ub85c \uad6c\ud604\ub418\uc9c0 \uc54a\uc740 \ub3d9\uae30\ud654\ub294 \ud50c\ub808\uc774\uc5b4 \uac04\uc758 \ubd88\uc77c\uce58\ub97c \ucd08\ub798\ud558\uace0, \uac8c\uc784\uc758 \uc2e0\ub8b0\uc131\uc744 \ub5a8\uc5b4\ub728\ub9b4 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h2>3. \uc720\ub2c8\ud2f0\uc5d0\uc11c\uc758 \ub124\ud2b8\uc6cc\ud0b9<\/h2>\n<p>\uc720\ub2c8\ud2f0\ub294 \ub2e4\uc591\ud55c \ub124\ud2b8\uc6cc\ud0b9 \uc194\ub8e8\uc158\uc744 \uc81c\uacf5\ud569\ub2c8\ub2e4. \uc720\ub2c8\ud2f0\uc758 UNet, Mirror, Photon \ub4f1\uc758 \ub77c\uc774\ube0c\ub7ec\ub9ac\ub97c \ud1b5\ud574 \uba40\ud2f0\ud50c\ub808\uc774\uc5b4 \uae30\ub2a5\uc744 \uc27d\uac8c \uad6c\ud604\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 Photon Networking\uc744 \uc0ac\uc6a9\ud560 \uac83\uc785\ub2c8\ub2e4.<\/p>\n<h3>3.1 Photon Networking \uc124\uce58<\/h3>\n<p>Photon Networking\uc744 \uc124\uce58\ud558\uae30 \uc704\ud574 \uc720\ub2c8\ud2f0 \uc5d0\uc14b \uc2a4\ud1a0\uc5b4\uc5d0\uc11c &#8220;Photon PUN 2 &#8211; Free&#8221; \ud328\ud0a4\uc9c0\ub97c \ub2e4\uc6b4\ub85c\ub4dc\ud558\uc5ec \uc124\uce58\ud569\ub2c8\ub2e4. \uc124\uce58 \ud6c4, Photon Server\uc5d0 \uac00\uc785\ud558\uace0, App ID\ub97c \uc0dd\uc131\ud558\uc5ec \ud504\ub85c\uc81d\ud2b8\uc5d0 \uc801\uc6a9\ud569\ub2c8\ub2e4.<\/p>\n<h2>4. \ud50c\ub808\uc774\uc5b4 \ub3d9\uae30\ud654 \uad6c\ud604\ud558\uae30<\/h2>\n<p>\ud50c\ub808\uc774\uc5b4 \ub3d9\uae30\ud654\uc758 \uae30\ubcf8 \uc6d0\ub9ac\ub294 \uac01 \ud074\ub77c\uc774\uc5b8\ud2b8\uc5d0\uc11c \ubc1c\uc0dd\ud558\ub294 \ud50c\ub808\uc774\uc5b4 \ud589\ub3d9\uc744 \ubaa8\ub4e0 \ud074\ub77c\uc774\uc5b8\ud2b8\uc5d0 \uc804\ud30c\ud558\ub294 \uac83\uc785\ub2c8\ub2e4. \uc774\ub97c \uc704\ud574 Photon\uc758 \ub124\ud2b8\uc6cc\ud06c \uae30\ub2a5\uc744 \ud65c\uc6a9\ud558\uc5ec \ud50c\ub808\uc774\uc5b4\uc758 \uc704\uce58, \ud68c\uc804 \ubc0f \uc0c1\ud0dc\ub97c \ub3d9\uae30\ud654\ud569\ub2c8\ub2e4.<\/p>\n<h3>4.1 \ud50c\ub808\uc774\uc5b4 \uc2a4\ud06c\ub9bd\ud2b8 \uc791\uc131<\/h3>\n<pre><code>\nusing Photon.Pun;\nusing UnityEngine;\n\npublic class PlayerController : MonoBehaviourPunCallbacks, IPunObservable\n{\n    private float moveSpeed = 5f;\n    private Vector3 networkPosition;\n\n    void Update()\n    {\n        if (photonView.IsMine)\n        {\n            Move();\n        }\n        else\n        {\n            LerpPosition();\n        }\n    }\n\n    void Move()\n    {\n        float horizontal = Input.GetAxis(\"Horizontal\");\n        float vertical = Input.GetAxis(\"Vertical\");\n        Vector3 movement = new Vector3(horizontal, 0, vertical) * moveSpeed * Time.deltaTime;\n        transform.position += movement;\n    }\n\n    void LerpPosition()\n    {\n        transform.position = Vector3.Lerp(transform.position, networkPosition, Time.deltaTime * 5);\n    }\n\n    public void OnPhotonSerializeView(PhotonStream stream, PhotonMessageInfo info)\n    {\n        if (stream.IsWriting)\n        {\n            stream.SendNext(transform.position);\n        }\n        else\n        {\n            networkPosition = (Vector3)stream.ReceiveNext();\n        }\n    }\n}\n<\/code><\/pre>\n<h3>4.2 \ucf54\ub4dc \uc124\uba85<\/h3>\n<p>\uc5ec\uae30\uc11c Photon.Pun \ub77c\uc774\ube0c\ub7ec\ub9ac\ub97c \uc0ac\uc6a9\ud558\uc5ec \ud50c\ub808\uc774\uc5b4\uc758 \uc704\uce58\ub97c \ub3d9\uae30\ud654\ud569\ub2c8\ub2e4. <code>IPunObservable<\/code> \uc778\ud130\ud398\uc774\uc2a4\ub97c \uad6c\ud604\ud558\uc5ec <code>OnPhotonSerializeView<\/code> \uba54\uc11c\ub4dc\ub97c \uc624\ubc84\ub77c\uc774\ub4dc\ud569\ub2c8\ub2e4. \uc774 \uba54\uc11c\ub4dc\ub294 \ub124\ud2b8\uc6cc\ud06c\ub97c \ud1b5\ud574 \uc804\uc1a1\ud560 \ub370\uc774\ud130\ub97c \uc815\uc758\ud569\ub2c8\ub2e4. \ud074\ub77c\uc774\uc5b8\ud2b8\uac00 \uc790\uc2e0\uc758 \uc624\ube0c\uc81d\ud2b8\ub97c \uc81c\uc5b4\ud560 \uacbd\uc6b0 \uc704\uce58\ub97c \uc5c5\ub370\uc774\ud2b8\ud558\uace0, \ub2e4\ub978 \ud074\ub77c\uc774\uc5b8\ud2b8\uc758 \uc704\uce58\ub294 Lerp\ub97c \ud1b5\ud574 \ubcf4\uac04\ud558\uc5ec \ubd80\ub4dc\ub7fd\uac8c \ubc18\uc601\ud569\ub2c8\ub2e4.<\/p>\n<h2>5. \uacf5\uaca9 \ub3d9\uae30\ud654 \uad6c\ud604\ud558\uae30<\/h2>\n<p>\ud50c\ub808\uc774\uc5b4 \uce90\ub9ad\ud130 \uac04\uc758 \uacf5\uaca9 \ub3d9\uae30\ud654\ub294 \uac8c\uc784\uc5d0\uc11c\uc758 \uc911\uc694\ud55c \uc0c1\ud638\uc791\uc6a9\uc785\ub2c8\ub2e4. \uacf5\uaca9 \uc2dc, \ud574\ub2f9 \ud589\ub3d9\uc744 \ubaa8\ub4e0 \ud50c\ub808\uc774\uc5b4\uc5d0\uac8c \uc804\ud30c\ud558\uc5ec \uc11c\ub85c \uac04\uc758 \uc0c1\ud638\uc791\uc6a9\uc744 \ucd09\uc9c4\ud574\uc57c \ud569\ub2c8\ub2e4. \uc774 \ubd80\ubd84\uc740 RPC \ud1b5\uc2e0\uc744 \ud1b5\ud574 \uad6c\ud604\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h3>5.1 \uacf5\uaca9 \uc2a4\ud06c\ub9bd\ud2b8 \uc791\uc131<\/h3>\n<pre><code>\nusing Photon.Pun;\nusing UnityEngine;\n\npublic class AttackController : MonoBehaviourPunCallbacks\n{\n    public void Attack()\n    {\n        if (photonView.IsMine)\n        {\n            photonView.RPC(\"PerformAttack\", RpcTarget.All);\n        }\n    }\n\n    [PunRPC]\n    void PerformAttack()\n    {\n        \/\/ \uc2e4\uc81c \uacf5\uaca9 \ub85c\uc9c1 \uad6c\ud604\n        Debug.Log(\"\uacf5\uaca9\uc774 \uc218\ud589\ub418\uc5c8\uc2b5\ub2c8\ub2e4!\");\n        \/\/ \uc608\ub97c \ub4e4\uc5b4 \uc801\uc5d0\uac8c \ub370\ubbf8\uc9c0\ub97c \uc8fc\ub294 \ub4f1\uc758 \ub85c\uc9c1\n    }\n}\n<\/code><\/pre>\n<h3>5.2 \ucf54\ub4dc \uc124\uba85<\/h3>\n<p>\uc5c5\ub370\uc774\ud2b8\ub41c \uc2a4\ud06c\ub9bd\ud2b8\uc5d0\uc11c\ub294 <code>Attack()<\/code> \uba54\uc11c\ub4dc\uac00 \ud638\ucd9c\ub420 \ub54c \ub2e4\ub978 \ubaa8\ub4e0 \ud074\ub77c\uc774\uc5b8\ud2b8\uc5d0\uac8c \uacf5\uaca9 \uc218\ud589\uc744 \uc54c\ub9ac\uae30 \uc704\ud574 <code>photonView.RPC<\/code>\ub97c \uc0ac\uc6a9\ud569\ub2c8\ub2e4. <code>RpcTarget.All<\/code> \ub9e4\uac1c\ubcc0\uc218\ub97c \uc0ac\uc6a9\ud558\uc5ec \uacf5\uaca9 \uba54\uc11c\ub4dc\uac00 \ubaa8\ub4e0 \ud074\ub77c\uc774\uc5b8\ud2b8\uc5d0\uc11c \uc2e4\ud589\ub418\ub3c4\ub85d \ud569\ub2c8\ub2e4. <code>PerformAttack()<\/code> \uba54\uc11c\ub4dc\ub294 \ubaa8\ub4e0 \ud074\ub77c\uc774\uc5b8\ud2b8\uc5d0\uc11c \ud638\ucd9c\ub418\uba70 \uc2e4\uc81c \uac8c\uc784 \ub85c\uc9c1\uc744 \uc218\ud589\ud569\ub2c8\ub2e4.<\/p>\n<h2>6. \ud14c\uc2a4\ud2b8 \ubc0f \ub514\ubc84\uae45<\/h2>\n<p>\ubaa8\ub4e0 \uc2a4\ud06c\ub9bd\ud2b8\uac00 \uc900\ube44\ub418\uc5c8\ub2e4\uba74, \uc2e4\uc81c\ub85c \ud14c\uc2a4\ud2b8\ub97c \uc9c4\ud589\ud558\uc5ec \uac01 \ud50c\ub808\uc774\uc5b4\uac00 \uacf5\uaca9 \ubc0f \uc774\ub3d9 \uc2dc \ub3d9\uae30\ud654\uac00 \uc798 \uc774\ub8e8\uc5b4\uc9c0\ub294\uc9c0 \ud655\uc778\ud569\ub2c8\ub2e4. \uc720\ub2c8\ud2f0 \uc5d0\ub514\ud130\uc5d0\uc11c &#8216;Play&#8217; \ubc84\ud2bc\uc744 \uc5ec\ub7ec \ubc88 \ud074\ub9ad\ud558\uc5ec \uc5ec\ub7ec \uc778\uc2a4\ud134\uc2a4\ub97c \uc2e4\ud589\ud558\uace0, \uc11c\ub85c \ub2e4\ub978 \ud074\ub77c\uc774\uc5b8\ud2b8 \uac04\uc758 \uc0c1\ud638\uc791\uc6a9\uc744 \uac80\ud1a0\ud569\ub2c8\ub2e4.<\/p>\n<h3>6.1 \uac10\uc9c0\ub41c \ubb38\uc81c \ud574\uacb0\ud558\uae30<\/h3>\n<p>\ub124\ud2b8\uc6cc\ud06c \ubb38\uc81c\ub098 \ub3d9\uae30\ud654 \ubb38\uc81c\ub97c \ud574\uacb0\ud558\uae30 \uc704\ud574\uc11c\ub294 \ub2e4\uc74c\uacfc \uac19\uc740 \uc810\uc744 \ud655\uc778\ud574\uc57c \ud569\ub2c8\ub2e4:<\/p>\n<ul>\n<li>\ud504\ub808\uc784 \ub808\uc774\ud2b8\uc640 \ub124\ud2b8\uc6cc\ud06c \ub300\uc5ed\ud3ed\uc744 \uccb4\ud06c\ud558\uc5ec \uc131\ub2a5\uc744 \uac1c\uc120\ud569\ub2c8\ub2e4.<\/li>\n<li>\ub370\uc774\ud130 \uc804\uc1a1 \uc2dc \uc801\uc808\ud55c \uc555\ucd95 \uae30\ubc95\uc744 \uc801\uc6a9\ud558\uc5ec \uc804\uc1a1\ub7c9\uc744 \uc904\uc785\ub2c8\ub2e4.<\/li>\n<li>\ub124\ud2b8\uc6cc\ud06c \ud328\ud0b7 \uc190\uc2e4\uc744 \ucd5c\uc18c\ud654\ud558\uae30 \uc704\ud574 \ud328\ud0b7 \uc804\uc1a1 \ube48\ub3c4\ub97c \uc870\uc815\ud569\ub2c8\ub2e4.<\/li>\n<\/ul>\n<h2>\uacb0\ub860<\/h2>\n<p>\uc774 \uac15\uc88c\uc5d0\uc11c\ub294 \uc720\ub2c8\ud2f0\uc5d0\uc11c \ud50c\ub808\uc774\uc5b4 \ub3d9\uae30\ud654 \ubc0f \uacf5\uaca9 \ub3d9\uae30\ud654\ub97c RPC \ud1b5\uc2e0\uc744 \ud1b5\ud574 \uad6c\ud604\ud558\ub294 \uacfc\uc815\uc744 \uc0b4\ud3b4\ubcf4\uc558\uc2b5\ub2c8\ub2e4. \uba40\ud2f0\ud50c\ub808\uc774\uc5b4 \uac8c\uc784\uc5d0\uc11c \ub3d9\uae30\ud654\ub294 \ub9e4\uc6b0 \uc911\uc694\ud55c \uc694\uc18c\uc774\uba70, \uc774\ub97c \ud1b5\ud574 \uc0ac\uc6a9\uc790 \uacbd\ud5d8\uc744 \ud06c\uac8c \ud5a5\uc0c1\uc2dc\ud0ac \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc720\ub2c8\ud2f0\uc640 Photon\uc758 \uc870\ud569\uc73c\ub85c \uac15\ub825\ud55c \uba40\ud2f0\ud50c\ub808\uc774\uc5b4 \uae30\ub2a5\uc744 \uc27d\uac8c \uad6c\ud604\ud560 \uc218 \uc788\ub294 \ubc29\ubc95\uc744 \ubc30\uc6e0\uc2b5\ub2c8\ub2e4. \uc55e\uc73c\ub85c \uc774 \uc9c0\uc2dd\uc744 \ubc14\ud0d5\uc73c\ub85c \ubcf4\ub2e4 \ubcf5\uc7a1\ud55c \uae30\ub2a5\ub4e4\uc744 \uad6c\ud604\ud558\uace0, \ub2e4\uc591\ud55c \uac8c\uc784\uc744 \uac1c\ubc1c\ud574 \ubcf4\uc2dc\uae30 \ubc14\ub78d\ub2c8\ub2e4.<\/p>\n<h2>\ucd94\uac00 \ub9ac\uc18c\uc2a4<\/h2>\n<p>\ub354 \ub9ce\uc740 \uc815\ubcf4\uc640 \uace0\uae09 \uae30\ub2a5\uc5d0 \ub300\ud55c \ud559\uc2b5\uc740 \ub2e4\uc74c \ub9ac\uc18c\uc2a4\ub97c \ud65c\uc6a9\ud574 \uc8fc\uc138\uc694:<\/p>\n<ul>\n<li><a href=\"https:\/\/doc.photonengine.com\/en\/pun\/current\/getting-started\/pun-intro\">Photon PUN \ubb38\uc11c<\/a><\/li>\n<li><a href=\"https:\/\/unity.com\/learn\">Unity Learn<\/a><\/li>\n<li><a href=\"https:\/\/www.udemy.com\/courses\/search\/?q=unity%20networking\">Udemy \uc720\ub2c8\ud2f0 \uac15\uc88c<\/a><\/li>\n<\/ul>\n<p>\uc774 \uac15\uc88c\uac00 \uc720\uc6a9\ud558\uc168\ub2e4\uba74 \ube14\ub85c\uadf8\ub97c \uad6c\ub3c5\ud558\uc5ec \ub354 \ub9ce\uc740 \uc720\uc6a9\ud55c \uc815\ubcf4\ub97c \ubc1b\uc544\ubcf4\uc138\uc694!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\ucd5c\uadfc \uac8c\uc784 \uac1c\ubc1c\uc758 \ud2b8\ub80c\ub4dc\ub294 \uba40\ud2f0\ud50c\ub808\uc774\uc5b4 \uac8c\uc784\uc758 \uc778\uae30\uac00 \ub192\uc544\uc9d0\uc5d0 \ub530\ub77c, \ub124\ud2b8\uc6cc\ud06c \ubc0f \ub3d9\uae30\ud654\uc758 \uc911\uc694\uc131\uc774 \uac15\uc870\ub418\uace0 \uc788\uc2b5\ub2c8\ub2e4. \uc774 \uac15\uc88c\uc5d0\uc11c\ub294 \uc720\ub2c8\ud2f0(Unity)\uc5d0\uc11c \ud50c\ub808\uc774\uc5b4 \uac04\uc758 \ub3d9\uae30\ud654, \uadf8\ub9ac\uace0 \uacf5\uaca9 \ub3d9\uae30\ud654\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. RPC(Remote Procedure Call) \ud1b5\uc2e0\uc744 \uc774\uc6a9\ud558\uc5ec \ub124\ud2b8\uc6cc\ud06c\uc0c1\uc758 \ud50c\ub808\uc774\uc5b4 \uce90\ub9ad\ud130 \uac04\uc758 \uc0c1\ud638\uc791\uc6a9\uc744 \uc5b4\ub5bb\uac8c \uad6c\ud604\ud560 \uc218 \uc788\ub294\uc9c0 \uc0b4\ud3b4\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. 1. \uc720\ub2c8\ud2f0\ub780? \uc720\ub2c8\ud2f0\ub294 \uac8c\uc784 \uac1c\ubc1c\uc744 \uc704\ud55c \ud1b5\ud569 \uac1c\ubc1c \ud658\uacbd(IDE)\uc785\ub2c8\ub2e4. \uc774 \ud50c\ub7ab\ud3fc\uc740 2D \ubc0f &hellip; <a href=\"https:\/\/atmokpo.com\/w\/24872\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;\uc720\ub2c8\ud2f0 \uae30\ucd08 \uac15\uc88c: \ud50c\ub808\uc774\uc5b4 \ub3d9\uae30\ud654 \ubc0f \uacf5\uaca9 \ub3d9\uae30\ud654 (RPC \ud1b5\uc2e0)&#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-24872","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: \ud50c\ub808\uc774\uc5b4 \ub3d9\uae30\ud654 \ubc0f \uacf5\uaca9 \ub3d9\uae30\ud654 (RPC \ud1b5\uc2e0) - \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\/24872\/\" \/>\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: \ud50c\ub808\uc774\uc5b4 \ub3d9\uae30\ud654 \ubc0f \uacf5\uaca9 \ub3d9\uae30\ud654 (RPC \ud1b5\uc2e0) - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"\ucd5c\uadfc \uac8c\uc784 \uac1c\ubc1c\uc758 \ud2b8\ub80c\ub4dc\ub294 \uba40\ud2f0\ud50c\ub808\uc774\uc5b4 \uac8c\uc784\uc758 \uc778\uae30\uac00 \ub192\uc544\uc9d0\uc5d0 \ub530\ub77c, \ub124\ud2b8\uc6cc\ud06c \ubc0f \ub3d9\uae30\ud654\uc758 \uc911\uc694\uc131\uc774 \uac15\uc870\ub418\uace0 \uc788\uc2b5\ub2c8\ub2e4. \uc774 \uac15\uc88c\uc5d0\uc11c\ub294 \uc720\ub2c8\ud2f0(Unity)\uc5d0\uc11c \ud50c\ub808\uc774\uc5b4 \uac04\uc758 \ub3d9\uae30\ud654, \uadf8\ub9ac\uace0 \uacf5\uaca9 \ub3d9\uae30\ud654\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. RPC(Remote Procedure Call) \ud1b5\uc2e0\uc744 \uc774\uc6a9\ud558\uc5ec \ub124\ud2b8\uc6cc\ud06c\uc0c1\uc758 \ud50c\ub808\uc774\uc5b4 \uce90\ub9ad\ud130 \uac04\uc758 \uc0c1\ud638\uc791\uc6a9\uc744 \uc5b4\ub5bb\uac8c \uad6c\ud604\ud560 \uc218 \uc788\ub294\uc9c0 \uc0b4\ud3b4\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. 1. \uc720\ub2c8\ud2f0\ub780? \uc720\ub2c8\ud2f0\ub294 \uac8c\uc784 \uac1c\ubc1c\uc744 \uc704\ud55c \ud1b5\ud569 \uac1c\ubc1c \ud658\uacbd(IDE)\uc785\ub2c8\ub2e4. \uc774 \ud50c\ub7ab\ud3fc\uc740 2D \ubc0f &hellip; \ub354 \ubcf4\uae30 &quot;\uc720\ub2c8\ud2f0 \uae30\ucd08 \uac15\uc88c: \ud50c\ub808\uc774\uc5b4 \ub3d9\uae30\ud654 \ubc0f \uacf5\uaca9 \ub3d9\uae30\ud654 (RPC \ud1b5\uc2e0)&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/24872\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-10-26T04:24:28+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T08:03:34+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\/24872\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/24872\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"\uc720\ub2c8\ud2f0 \uae30\ucd08 \uac15\uc88c: \ud50c\ub808\uc774\uc5b4 \ub3d9\uae30\ud654 \ubc0f \uacf5\uaca9 \ub3d9\uae30\ud654 (RPC \ud1b5\uc2e0)\",\"datePublished\":\"2024-10-26T04:24:28+00:00\",\"dateModified\":\"2024-11-26T08:03:34+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/24872\/\"},\"wordCount\":41,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"\uc720\ub2c8\ud2f0\uae30\ucd08\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/24872\/\",\"url\":\"https:\/\/atmokpo.com\/w\/24872\/\",\"name\":\"\uc720\ub2c8\ud2f0 \uae30\ucd08 \uac15\uc88c: \ud50c\ub808\uc774\uc5b4 \ub3d9\uae30\ud654 \ubc0f \uacf5\uaca9 \ub3d9\uae30\ud654 (RPC \ud1b5\uc2e0) - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-10-26T04:24:28+00:00\",\"dateModified\":\"2024-11-26T08:03:34+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/24872\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/24872\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/24872\/#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: \ud50c\ub808\uc774\uc5b4 \ub3d9\uae30\ud654 \ubc0f \uacf5\uaca9 \ub3d9\uae30\ud654 (RPC \ud1b5\uc2e0)\"}]},{\"@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: \ud50c\ub808\uc774\uc5b4 \ub3d9\uae30\ud654 \ubc0f \uacf5\uaca9 \ub3d9\uae30\ud654 (RPC \ud1b5\uc2e0) - \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\/24872\/","og_locale":"ko_KR","og_type":"article","og_title":"\uc720\ub2c8\ud2f0 \uae30\ucd08 \uac15\uc88c: \ud50c\ub808\uc774\uc5b4 \ub3d9\uae30\ud654 \ubc0f \uacf5\uaca9 \ub3d9\uae30\ud654 (RPC \ud1b5\uc2e0) - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"\ucd5c\uadfc \uac8c\uc784 \uac1c\ubc1c\uc758 \ud2b8\ub80c\ub4dc\ub294 \uba40\ud2f0\ud50c\ub808\uc774\uc5b4 \uac8c\uc784\uc758 \uc778\uae30\uac00 \ub192\uc544\uc9d0\uc5d0 \ub530\ub77c, \ub124\ud2b8\uc6cc\ud06c \ubc0f \ub3d9\uae30\ud654\uc758 \uc911\uc694\uc131\uc774 \uac15\uc870\ub418\uace0 \uc788\uc2b5\ub2c8\ub2e4. \uc774 \uac15\uc88c\uc5d0\uc11c\ub294 \uc720\ub2c8\ud2f0(Unity)\uc5d0\uc11c \ud50c\ub808\uc774\uc5b4 \uac04\uc758 \ub3d9\uae30\ud654, \uadf8\ub9ac\uace0 \uacf5\uaca9 \ub3d9\uae30\ud654\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. RPC(Remote Procedure Call) \ud1b5\uc2e0\uc744 \uc774\uc6a9\ud558\uc5ec \ub124\ud2b8\uc6cc\ud06c\uc0c1\uc758 \ud50c\ub808\uc774\uc5b4 \uce90\ub9ad\ud130 \uac04\uc758 \uc0c1\ud638\uc791\uc6a9\uc744 \uc5b4\ub5bb\uac8c \uad6c\ud604\ud560 \uc218 \uc788\ub294\uc9c0 \uc0b4\ud3b4\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. 1. \uc720\ub2c8\ud2f0\ub780? \uc720\ub2c8\ud2f0\ub294 \uac8c\uc784 \uac1c\ubc1c\uc744 \uc704\ud55c \ud1b5\ud569 \uac1c\ubc1c \ud658\uacbd(IDE)\uc785\ub2c8\ub2e4. \uc774 \ud50c\ub7ab\ud3fc\uc740 2D \ubc0f &hellip; \ub354 \ubcf4\uae30 \"\uc720\ub2c8\ud2f0 \uae30\ucd08 \uac15\uc88c: \ud50c\ub808\uc774\uc5b4 \ub3d9\uae30\ud654 \ubc0f \uacf5\uaca9 \ub3d9\uae30\ud654 (RPC \ud1b5\uc2e0)\"","og_url":"https:\/\/atmokpo.com\/w\/24872\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-10-26T04:24:28+00:00","article_modified_time":"2024-11-26T08:03:34+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\/24872\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/24872\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"\uc720\ub2c8\ud2f0 \uae30\ucd08 \uac15\uc88c: \ud50c\ub808\uc774\uc5b4 \ub3d9\uae30\ud654 \ubc0f \uacf5\uaca9 \ub3d9\uae30\ud654 (RPC \ud1b5\uc2e0)","datePublished":"2024-10-26T04:24:28+00:00","dateModified":"2024-11-26T08:03:34+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/24872\/"},"wordCount":41,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["\uc720\ub2c8\ud2f0\uae30\ucd08"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/24872\/","url":"https:\/\/atmokpo.com\/w\/24872\/","name":"\uc720\ub2c8\ud2f0 \uae30\ucd08 \uac15\uc88c: \ud50c\ub808\uc774\uc5b4 \ub3d9\uae30\ud654 \ubc0f \uacf5\uaca9 \ub3d9\uae30\ud654 (RPC \ud1b5\uc2e0) - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-10-26T04:24:28+00:00","dateModified":"2024-11-26T08:03:34+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/24872\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/24872\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/24872\/#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: \ud50c\ub808\uc774\uc5b4 \ub3d9\uae30\ud654 \ubc0f \uacf5\uaca9 \ub3d9\uae30\ud654 (RPC \ud1b5\uc2e0)"}]},{"@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\/24872","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=24872"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/24872\/revisions"}],"predecessor-version":[{"id":24873,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/24872\/revisions\/24873"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=24872"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=24872"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=24872"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}