{"id":799,"date":"2024-06-05T04:47:46","date_gmt":"2024-06-05T04:47:46","guid":{"rendered":"https:\/\/histy.jp\/?p=799"},"modified":"2024-06-05T04:47:46","modified_gmt":"2024-06-05T04:47:46","slug":"post-799","status":"publish","type":"post","link":"https:\/\/histy.jp\/?p=799","title":{"rendered":"\u30a2\u30bb\u30c3\u30c8\u300ceasy save\u300d\u3092\u4f7f\u3063\u3066\u7c21\u5358\u306b\u30bb\u30fc\u30d6\u6a5f\u80fd\u3092\u4ed8\u3051\u308b\u65b9\u6cd5\u3092\u8aac\u660e"},"content":{"rendered":"\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-pullquote\"><blockquote><p>By default save data is stored in Unity\u2019s&nbsp;<a href=\"https:\/\/docs.unity3d.com\/ScriptReference\/Application-persistentDataPath.html\">Application.persistentDataPath<\/a>, the locations of which you can find in their&nbsp;<a href=\"https:\/\/docs.unity3d.com\/ScriptReference\/Application-persistentDataPath.html\">documentation<\/a>. You can open this path in the Editor by going to Tools &gt; Easy Save 3 &gt; Open Persistent Data Path.<\/p><cite><a rel=\"noreferrer noopener\" href=\"https:\/\/docs.moodkie.com\/easy-save-3\/getting-started\/\" target=\"_blank\">Getting Started with Easy Save 3 &#8211; Easy Save for Unity(\u65b0\u3057\u3044\u30bf\u30d6\u3067\u958b\u304f)<\/a><\/cite><\/blockquote><\/figure>\n\n\n\n<p>Open Persistent Data Path\u306f\u521d\u671f\u5024\u3067\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u30eb\u30fc\u30c8\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u3002<br>Unity\u3067\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u308d\u3068\u6642\u306b\u8a2d\u5b9a\u3057\u305f\u540d\u524d\u304c\u300cCardGame\u300d\u3060\u3068\u3057\u305f\u3089\u3001CardGame\u30d5\u30a1\u30a4\u30eb\u304c\u30eb\u30fc\u30c8\u306b\u306a\u308b\u3002<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>ES3.Save(&#8220;myInt&#8221;, 123);<\/p>\n<cite><a rel=\"noreferrer noopener\" href=\"https:\/\/docs.moodkie.com\/easy-save-3\/getting-started\/\" target=\"_blank\">Getting Started with Easy Save 3 &#8211; Easy Save for Unity(\u65b0\u3057\u3044\u30bf\u30d6\u3067\u958b\u304f)<\/a><\/cite><\/blockquote>\n\n\n\n<p>\u30bb\u30fc\u30d6\u65b9\u6cd5\u306fES3.Save(&#8220;\u30ad\u30fc\u30ef\u30fc\u30c9&#8221;, \u5024);<\/p>\n\n\n\n<p>\u30ad\u30fc\u30ef\u30fc\u30c9\u306f\u4fdd\u5b58\u3057\u305f\u6642\u306b\u5024\u306b\u95a2\u9023\u4ed8\u3051\u3089\u308c\u3066\u3001\u547c\u3073\u51fa\u3059\u3068\u304d\u306b\u30ad\u30fc\u30ef\u30fc\u30c9\u540d\u3092\u6307\u5b9a\u3059\u308c\u3070\u4fdd\u5b58\u3057\u305f\u5024\u3092\u547c\u3073\u51fa\u305b\u308b\u3002<br>\u5024\u306e\u65b9\u306f\u81ea\u52d5\u3067\u8b58\u5225\u3055\u308c\u3001\u578b\u60c5\u5831\u3082\u4e00\u7dd2\u306b\u4fdd\u5b58\u3055\u308c\u308b\u3002<\/p>\n\n\n\n<p>\u578b\u3092\u6307\u5b9a\u3057\u3066\u4fdd\u5b58\u3057\u305f\u3044\u5834\u5408\u306f<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ES3.Save&lt;int&gt;(\"\u30ad\u30fc\u30ef\u30fc\u30c9\", \u5024);<\/code><\/pre>\n\n\n\n<p>\u30b8\u30a7\u30cd\u30ea\u30af\u30b9\u4f7f\u3063\u3066\u6307\u5b9a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3002<br>1\u4eba\u3067\u4f5c\u308b\u304b\u3064\u5c0f\u898f\u6a21\u306a\u30b2\u30fc\u30e0\u3067\u306f\u6307\u5b9a\u3057\u306a\u304f\u3066\u3082\u826f\u3044\u304c\u3001\u591a\u304f\u306e\u4eba\u304c\u95a2\u308f\u308b\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u306f\u6307\u5b9a\u3057\u305f\u65b9\u304c\u3001\u3069\u306e\u578b\u3092\u4fdd\u5b58\u3059\u308b\u4e88\u5b9a\u304b\u5206\u304b\u308b\u306e\u3067\u660e\u793a\u3057\u305f\u65b9\u304c\u7121\u96e3\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u8907\u6570\u306e\u30bb\u30fc\u30d6\u30c7\u30fc\u30bf\u3092\u4f5c\u308b\u65b9\u6cd5<\/h3>\n\n\n\n<p>RPG\u30c4\u30af\u30fc\u30eb\u3067\u8907\u6570\u30c7\u30fc\u30bf\u3092\u4fdd\u5b58\u3067\u304d\u308b\u6a5f\u80fd\u304c\u3042\u308b\u3002\u3042\u308c\u3092\u5b9f\u88c5\u3059\u308b\u65b9\u6cd5\u3002<\/p>\n\n\n\n<p>\u30fb\u30c7\u30fc\u30bf\u3092\u4fdd\u5b58\u3059\u308b\u30d5\u30a1\u30a4\u30eb\u5148\u3092\u5206\u3051\u308c\u3070OK<\/p>\n\n\n\n<p>Title\u753b\u9762\u3067Continue\u3092\u9078\u3093\u3060\u3089\u3001\u7d9a\u3051\u3066\u3069\u306e\u30bb\u30fc\u30d6\u30c7\u30fc\u30bf\u3067\u904a\u3076\u304b\u3092\u9078\u3070\u305b\u308b\u3002\u305d\u3053\u3067\u9078\u3070\u308c\u305f\u756a\u53f7\u306e\u30bb\u30fc\u30d6\u30d5\u30a1\u30a4\u30eb\u304b\u3089\u30c7\u30fc\u30bf\u3092Load\u3059\u308c\u3070Ok\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>    public void saveData()\n    {\n        int myArray = 11;\n        ES3.Save(\"myArray\", myArray, \"save\/myFile.es3\");\n        ES3.Save(\"myArray\", myArray, \"save\/myFile.es2\");\n    }<\/code><\/pre>\n\n\n\n<p>save\/myFile.es3\u3068save\/myFile.es2\u30d5\u30a9\u30eb\u30c0\u30fc\u304c\u4f5c\u3089\u308c\u3066\u3001\u305d\u3053\u306b\u4fdd\u5b58\u3055\u308c\u308b\u3002<\/p>\n\n\n\n<p>\u30d3\u30eb\u30c9\u3057\u3066\u3001\u305d\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u914d\u4e0b\u306b\u30bb\u30fc\u30d6\u30d5\u30a9\u30eb\u30c0\u3092\u4f5c\u308b\u65b9\u6cd5\u3002<\/p>\n\n\n\n<p>\u30c4\u30fc\u30eb&gt;easy save3&gt;\u8a2d\u5b9a&gt;directory\u3067data path\u3092\u9078\u629e\u3002<\/p>\n\n\n\n<p>data path\u306fApplication.dataPath\u306e\u5024\u3002\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u540d_Data\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u3002<\/p>\n\n\n\n<p><a href=\"https:\/\/docs.unity3d.com\/ScriptReference\/Application-dataPath.html\">https:\/\/docs.unity3d.com\/ScriptReference\/Application-dataPath.html<\/a><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>Load\u3059\u308b\u65b9\u6cd5<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>By default save data is stored in Unity\u2019s&nbsp;Application.persistentDataPath, the locations of which you can  [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[],"_links":{"self":[{"href":"https:\/\/histy.jp\/index.php?rest_route=\/wp\/v2\/posts\/799"}],"collection":[{"href":"https:\/\/histy.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/histy.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/histy.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/histy.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=799"}],"version-history":[{"count":6,"href":"https:\/\/histy.jp\/index.php?rest_route=\/wp\/v2\/posts\/799\/revisions"}],"predecessor-version":[{"id":1082,"href":"https:\/\/histy.jp\/index.php?rest_route=\/wp\/v2\/posts\/799\/revisions\/1082"}],"wp:attachment":[{"href":"https:\/\/histy.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=799"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/histy.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=799"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/histy.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=799"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}