본문 바로가기

바야바네 움집

검색하기
바야바네 움집
프로필사진 친절한 바야바

  • 분류 전체보기 (36)
    • 🎮유니티Unity (2)
    • 💾 서버 (0)
    • 📗C# (1)
    • 📘C++ (3)
    • 🧶 알고리즘 (27)
      • 🎲백준BOJ (23)
      • 🎲프로그래머스Programmers (4)
    • 📋 후기 (1)
Guestbook
Notice
Recent Posts
Tags
  • sim4
  • 맥북
  • macbook
  • chat not working
  • 심즈4
more
Recent Comments
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록🎮유니티Unity (2)

바야바네 움집

[JSON/Newtonsoft] JsonConvert.DeserializeObject<T>(string json) error

Deserialize 하면서 발생한 에러 2개 1. Object Reference not set to an instance of an object 2. Debug.log(questData); // NULL +) Rescources.Load를 쓰면 좋지 않다고 그래서 베르님 블로그에서 FileStream을 사용하는 코드를 가져다가 썼다. JsonConvert.DeserializeObject는 마지막 줄에 있다. public T LoadJsonFile(string loadPath, string fileName) { FileStream fileStream = new FileStream(string.Format("{0}/{1}.json", loadPath, fileName), FileMode.Open); byt..

🎮유니티Unity 2022. 4. 1. 07:31
사용자 지정 숫자 서식

Resource로 파일을 불러오거나 text 컴포넌트에 숫자를 넣는 등 같은 형식의 숫자를 문자열로 바꾸는 반복적인 작업을 해야할 때 쓰면 좋을 것 같다. https://docs.microsoft.com/ko-kr/dotnet/standard/base-types/custom-numeric-format-strings

🎮유니티Unity 2022. 3. 26. 01:05
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바