유니티(Unity) 사용자 데이터 파일 저장 사용법 문서 모음(Persistent Player Data)
Persistent Data – How to save your game states and settings
https://youtu.be/uD7y4T4PVk0
Persistence: Saving and Loading Data
https://learn.unity.com/tutorial/persistence-saving-and-loading-data?language=en#
saving persistent player data in unity
https://learn.unity.com/project/saving-persistent-player-data-in-unity?language=en
overview and serialization concepts
https://learn.unity.com/tutorial/overview-and-serialization-concepts?uv=2019.3&projectId=5d0f54f8edbc2a4dd39f1d6a#5d0f524aedbc2a0020cb528a
JsonUtility.ToJson(this);
오브젝트의 json표현을 생성한다
using UnityEngine;
public class PlayerState : MonoBehaviour
{
public string playerName;
public int lives;
public float health;
public string SaveToString()
{
return JsonUtility.ToJson(this);
}
// Given:
// playerName = "Dr Charles"
// lives = 3
// health = 0.8f
// SaveToString returns:
// {"playerName":"Dr Charles","lives":3,"health":0.8}
}
https://docs.unity3d.com/ScriptReference/JsonUtility.ToJson.html
https://docs.unity3d.com/ScriptReference/JsonUtility.FromJsonOverwrite.html
Creating DownloadHandlers
https://docs.unity3d.com/Manual/UnityWebRequest-CreatingDownloadHandlers.html
Understanding the Async Upload Pipeline
https://unity.com/blog/engine-platform/understanding-the-async-upload-pipeline
'유니티게임개발 > 기초공부' 카테고리의 다른 글
유니티 에셋 스토어(Unity Asset Store) 서비스 약관 EULA 공식 문서 (0) | 2024.12.19 |
---|---|
유니티(Unity)에서 옷감(Cloth) 시뮬레이션 기초 사용법 튜토리얼 (0) | 2024.12.18 |
유니티(Unity) 안드로이드 런처 앱 이름(언어) 변경하기(Localization, App info) (0) | 2024.12.17 |
유니티(Unity) 씬에서 특정 컴포넌트를 포함하는 오브젝트 검색 및 필터링(Hierarchy, Type) (0) | 2024.12.15 |
유니티(Unity)에 가져오기한 3D 모델 노말 계산(스무싱 그룹, Smoothing Angle) (0) | 2024.12.12 |