Json으로 세이브 파일 만들기, 로드 지난글에 이어서 작성 세이브파일 작성법 using UnityEngine;using System.IO;// 파일을 로드하는 법 using UnityEngine;using System.IO;//(jsonData); //이제 딕시리얼 라이즈하고 jTest2.Prinnt();//출력해준다 }이렇게 파일을 로드해서 덮어씌우는 식으로 세이브파일을 만든다 구글에서 Json To C#이라고 치면 유니티 & Json 2024.10.24
유니티의 JsonUtility 지원 지난 글에 이어서 작성using UnityEngine;using Newtonsoft.Json;using NUnit.Framework;using System.Collections.Generic;public class NewtonsoftJsonExample : MonoBehaviour{ // Start is called once before the first execution of Update after the MonoBehaviour is created void Start() { //JsonTestClass jTest1 = new JsonTestClass(); //string jsonData = JsonConvert.SerializeObject(jTest1); .. 유니티 & Json 2024.10.24
유니티와 JSON주의 할 점 using UnityEngine;public class TestMono : MonoBehaviour{ public int i = 10; // Start is called once before the first execution of Update after the MonoBehaviour is created void Start() { } // Update is called once per frame void Update() { }}지난 글에 이어서 같은 프로젝트에 TestMono라는 스크립트를 작성 함 using UnityEngine;using Newtonsoft.Json;using NUnit.Framework;using Syst.. 유니티 & Json 2024.10.24
유니티에서 JSON사용하기 NEWtonsoft json 을 구글에서 검색 using UnityEngine;using Newtonsoft.Json;using NUnit.Framework;using System.Collections.Generic;public class NewtonsoftJsonExample : MonoBehaviour{ // Start is called once before the first execution of Update after the MonoBehaviour is created void Start() { JsonTestClass jTest1 = new JsonTestClass();//새 JSON을 생성해줌 string jsonData = JsonConvert.Ser.. 유니티 & Json 2024.10.22
엑셀로 데이터 테이블 만들고 JSON으로 가공하기 https://ko.wikipedia.org/wiki/JSON JSON - 위키백과, 우리 모두의 백과사전위키백과, 우리 모두의 백과사전. JSON(제이슨[1], JavaScript Object Notation)은 속성-값 쌍(attribute–value pairs), 배열 자료형(array data types) 또는 기타 모든 시리얼화 가능한 값(serializable value) 또는 키-값ko.wikipedia.orghttps://shancarter.github.io/mr-data-converter/ Mr. Data Converter shancarter.github.iohttps://jsonviewer.stack.hu/ Online JSON Viewer and Formatter jsonviewer... 유니티 & Json 2024.08.17