{"id":37945,"date":"2024-11-01T10:01:43","date_gmt":"2024-11-01T10:01:43","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=37945"},"modified":"2024-11-01T11:33:02","modified_gmt":"2024-11-01T11:33:02","slug":"unity-2d-game-development-item-system-implementation-item-creation-player-interaction-effect-application","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/37945\/","title":{"rendered":"UNITY 2D GAME DEVELOPMENT, ITEM SYSTEM IMPLEMENTATION ITEM CREATION, PLAYER INTERACTION, EFFECT APPLICATION."},"content":{"rendered":"<p><body><\/p>\n<p>In Unity 2D game development, the item system is an important element that enriches the fun and interaction in the game. In this article, we will explore how to implement an item system that includes item creation, player interaction, and effect granting.<\/p>\n<h2>1. Basic Structure of the Item System<\/h2>\n<p>To build an item system, we first need a data structure that defines the items. Generally, items have properties such as name, description, type, and effects.<\/p>\n<h3>1.1. Defining the Item Data Class<\/h3>\n<pre><code>using UnityEngine;\n\n[System.Serializable]\npublic class Item {\n    public string itemName;      \/\/ Item name\n    public string description;    \/\/ Item description\n    public ItemType itemType;     \/\/ Item type\n    public int value;             \/\/ Item value\n\n    public Item(string name, string desc, ItemType type, int val) {\n        itemName = name;\n        description = desc;\n        itemType = type;\n        value = val;\n    }\n}\n\npublic enum ItemType {\n    HealthPotion,    \/\/ Health potion\n    ManaPotion,      \/\/ Mana potion\n    Weapon,          \/\/ Weapon\n    Armor            \/\/ Armor\n}\n<\/code><\/pre>\n<p>The code above includes a class that defines the basic information of an item and an enumeration representing the item types. Each item has name, description, type, and value information, allowing for the creation of various items.<\/p>\n<h2>2. Creating Items<\/h2>\n<p>To create items, we must instantiate the previously defined item data class. Additionally, to use items in the game, we need to manage these instances efficiently in the script.<\/p>\n<h3>2.1. Managing the Item List<\/h3>\n<pre><code>using System.Collections.Generic;\n\npublic class ItemManager : MonoBehaviour {\n    public List<item> items; \/\/ List of items\n\n    private void Start() {\n        items = new List<item>();\n\n        \/\/ Create items\n        CreateItem(\"Health Potion\", \"Restores health.\", ItemType.HealthPotion, 20);\n        CreateItem(\"Mana Potion\", \"Restores mana.\", ItemType.ManaPotion, 15);\n        CreateItem(\"Dagger\", \"A weapon that allows for quick attacks.\", ItemType.Weapon, 50);\n        CreateItem(\"Light Armor\", \"Protects health.\", ItemType.Armor, 30);\n    }\n\n    private void CreateItem(string name, string desc, ItemType type, int val) {\n        Item newItem = new Item(name, desc, type, val);\n        items.Add(newItem); \/\/ Add to the item list\n    }\n}\n<\/code><\/pre>\n<p>The code above is a simple item manager class that creates items and adds them to the list. The <code>Start()<\/code> method generates various types of items and stores them in the <code>items<\/code> list.<\/p>\n<h3>2.2. Creating Items Using Item Prefabs<\/h3>\n<p>In actual games, items are usually stored as prefabs. Using prefabs allows for dynamically creating items in the scene. Let&#8217;s create a prefab named &#8216;ItemPrefab&#8217; in the Unity Editor.<\/p>\n<pre><code>using UnityEngine;\n\npublic class ItemSpawner : MonoBehaviour {\n    public GameObject itemPrefab; \/\/ Item prefab\n\n    public void SpawnItem(Vector2 position) {\n        Instantiate(itemPrefab, position, Quaternion.identity); \/\/ Create item\n    }\n}\n<\/code><\/pre>\n<p>Using the <code>SpawnItem<\/code> method, you can create an item prefab at the specified location.<\/p>\n<h2>3. Player Interaction<\/h2>\n<p>After items are created, it is important to implement interaction with the player. We will make it possible for the player to collect and use items.<\/p>\n<h3>3.1. Defining the Player Class<\/h3>\n<pre><code>using UnityEngine;\n\npublic class Player : MonoBehaviour {\n    public int health;\n    public int mana;\n\n    public void PickUpItem(Item item) {\n        switch (item.itemType) {\n            case ItemType.HealthPotion:\n                health += item.value; \/\/ Restore health\n                Debug.Log(\"Health restored: \" + item.value);\n                break;\n            case ItemType.ManaPotion:\n                mana += item.value; \/\/ Restore mana\n                Debug.Log(\"Mana restored: \" + item.value);\n                break;\n            \/\/ Additional item effects can be implemented\n        }\n    }\n}\n<\/code><\/pre>\n<p>In the player class, the <code>PickUpItem<\/code> method applies the effects of the items. It is implemented to restore health or mana depending on the item type.<\/p>\n<h3>3.2. Implementing Item Interaction<\/h3>\n<p>To collect items, a collision system must be used so that the player can obtain items upon contact with them.<\/p>\n<pre><code>using UnityEngine;\n\npublic class ItemPickup : MonoBehaviour {\n    public Item item; \/\/ The corresponding item\n\n    private void OnTriggerEnter2D(Collider2D collision) {\n        if (collision.gameObject.CompareTag(\"Player\")) {\n            Player player = collision.gameObject.GetComponent<player>();\n            if (player != null) {\n                player.PickUpItem(item); \/\/ Give item\n                Destroy(gameObject); \/\/ Remove item\n            }\n        }\n    }\n}\n<\/code><\/pre>\n<p>By adding this script to the item object, we implement a feature where the player can collect items upon collision and remove the object.<\/p>\n<h2>4. Using Items and Implementing Effects<\/h2>\n<p>Now, let&#8217;s look into how to allow the player to use collected items to activate their effects.<\/p>\n<h3>4.1. Adding Item Use Functionality<\/h3>\n<pre><code>public class Player : MonoBehaviour {\n    \/\/ Keep existing code\n    public void UseItem(Item item) {\n        switch (item.itemType) {\n            case ItemType.HealthPotion:\n                health += item.value; \/\/ Restore health\n                Debug.Log(\"Health restored: \" + item.value);\n                break;\n            case ItemType.ManaPotion:\n                mana += item.value; \/\/ Restore mana\n                Debug.Log(\"Mana restored: \" + item.value);\n                break;\n        }\n        \/\/ Additional effects can be applied\n    }\n}\n<\/code><\/pre>\n<p>By adding the <code>UseItem<\/code> method, you can implement allowing the player to use items.<\/p>\n<h3>4.2. User Interface (UI)<\/h3>\n<p>It is also important to implement a UI for using items. Let&#8217;s create an interface for players to manage and use their items.<\/p>\n<pre><code>using UnityEngine;\nusing UnityEngine.UI;\n\npublic class UIManager : MonoBehaviour {\n    public Text itemInfoText; \/\/ Item info text\n\n    public void DisplayItemInfo(Item item) {\n        itemInfoText.text = $\"{item.itemName}\\n{item.description}\\nValue: {item.value}\";\n    }\n}\n<\/code><\/pre>\n<p>I created a UIManager class that can display item information in the UI. Through this UI, players can easily check the details of the items.<\/p>\n<h2>5. Conclusion<\/h2>\n<p>In this post, we closely examined how to implement an item system in a Unity 2D game. We explored ways to create items, interact with players, and grant effects, making the item system simpler and more effective.<\/p>\n<p>The item system is one of the core elements of the game, allowing players to have a more immersive experience. In the future, it would be good to implement more complex features such as adding various items or enhancement systems.<\/p>\n<p>I hope this article helps you in Unity 2D game development, and I encourage you to continue creating better games!<\/p>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In Unity 2D game development, the item system is an important element that enriches the fun and interaction in the game. In this article, we will explore how to implement an item system that includes item creation, player interaction, and effect granting. 1. Basic Structure of the Item System To build an item system, we &hellip; <a href=\"https:\/\/atmokpo.com\/w\/37945\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;UNITY 2D GAME DEVELOPMENT, ITEM SYSTEM IMPLEMENTATION ITEM CREATION, PLAYER INTERACTION, EFFECT APPLICATION.&#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":[135],"tags":[],"class_list":["post-37945","post","type-post","status-publish","format-standard","hentry","category-unity-basic"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>UNITY 2D GAME DEVELOPMENT, ITEM SYSTEM IMPLEMENTATION ITEM CREATION, PLAYER INTERACTION, EFFECT APPLICATION. - \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\/37945\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"UNITY 2D GAME DEVELOPMENT, ITEM SYSTEM IMPLEMENTATION ITEM CREATION, PLAYER INTERACTION, EFFECT APPLICATION. - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"In Unity 2D game development, the item system is an important element that enriches the fun and interaction in the game. In this article, we will explore how to implement an item system that includes item creation, player interaction, and effect granting. 1. Basic Structure of the Item System To build an item system, we &hellip; \ub354 \ubcf4\uae30 &quot;UNITY 2D GAME DEVELOPMENT, ITEM SYSTEM IMPLEMENTATION ITEM CREATION, PLAYER INTERACTION, EFFECT APPLICATION.&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/37945\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-11-01T10:01:43+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-01T11:33:02+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=\"4\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/atmokpo.com\/w\/37945\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/37945\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"UNITY 2D GAME DEVELOPMENT, ITEM SYSTEM IMPLEMENTATION ITEM CREATION, PLAYER INTERACTION, EFFECT APPLICATION.\",\"datePublished\":\"2024-11-01T10:01:43+00:00\",\"dateModified\":\"2024-11-01T11:33:02+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/37945\/\"},\"wordCount\":537,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"Unity Basic\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/37945\/\",\"url\":\"https:\/\/atmokpo.com\/w\/37945\/\",\"name\":\"UNITY 2D GAME DEVELOPMENT, ITEM SYSTEM IMPLEMENTATION ITEM CREATION, PLAYER INTERACTION, EFFECT APPLICATION. - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-11-01T10:01:43+00:00\",\"dateModified\":\"2024-11-01T11:33:02+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/37945\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/37945\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/37945\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"UNITY 2D GAME DEVELOPMENT, ITEM SYSTEM IMPLEMENTATION ITEM CREATION, PLAYER INTERACTION, EFFECT APPLICATION.\"}]},{\"@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":"UNITY 2D GAME DEVELOPMENT, ITEM SYSTEM IMPLEMENTATION ITEM CREATION, PLAYER INTERACTION, EFFECT APPLICATION. - \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\/37945\/","og_locale":"ko_KR","og_type":"article","og_title":"UNITY 2D GAME DEVELOPMENT, ITEM SYSTEM IMPLEMENTATION ITEM CREATION, PLAYER INTERACTION, EFFECT APPLICATION. - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"In Unity 2D game development, the item system is an important element that enriches the fun and interaction in the game. In this article, we will explore how to implement an item system that includes item creation, player interaction, and effect granting. 1. Basic Structure of the Item System To build an item system, we &hellip; \ub354 \ubcf4\uae30 \"UNITY 2D GAME DEVELOPMENT, ITEM SYSTEM IMPLEMENTATION ITEM CREATION, PLAYER INTERACTION, EFFECT APPLICATION.\"","og_url":"https:\/\/atmokpo.com\/w\/37945\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-11-01T10:01:43+00:00","article_modified_time":"2024-11-01T11:33:02+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":"4\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/atmokpo.com\/w\/37945\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/37945\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"UNITY 2D GAME DEVELOPMENT, ITEM SYSTEM IMPLEMENTATION ITEM CREATION, PLAYER INTERACTION, EFFECT APPLICATION.","datePublished":"2024-11-01T10:01:43+00:00","dateModified":"2024-11-01T11:33:02+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/37945\/"},"wordCount":537,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["Unity Basic"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/37945\/","url":"https:\/\/atmokpo.com\/w\/37945\/","name":"UNITY 2D GAME DEVELOPMENT, ITEM SYSTEM IMPLEMENTATION ITEM CREATION, PLAYER INTERACTION, EFFECT APPLICATION. - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-11-01T10:01:43+00:00","dateModified":"2024-11-01T11:33:02+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/37945\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/37945\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/37945\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"UNITY 2D GAME DEVELOPMENT, ITEM SYSTEM IMPLEMENTATION ITEM CREATION, PLAYER INTERACTION, EFFECT APPLICATION."}]},{"@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\/37945","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=37945"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/37945\/revisions"}],"predecessor-version":[{"id":37946,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/37945\/revisions\/37946"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=37945"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=37945"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=37945"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}