728x90 Unity Json1 Unity & C# ~ JsonConvert 사용법 using System; using System.IO; using UnityEngine; using Newtonsoft.Json; //serializable data [Serializable] public class TestData { public string testStr; public TestData(string _inputString) { testStr = _inputString; } } public class TestJson : MonoBehaviour { // Start is called before the first frame update void Start() { //load string filePath = Application.dataPath + "/TestData.json"; string.. 2023. 2. 24. 이전 1 다음 SMALL