Unity3D
Application.persistentDataPath
일등하이
2013. 1. 10. 18:23
반응형
static var persistentDataPath : string
설명
영구적(Persistent) 데이터 디렉토리의 경로를 포함하고 있습니다 (Read Only).
변수에 입력되는 값은 명령과 명령사이에서 지속될 것으로 추정되는 에디터가 저장될 디렉토리 경로입니다.
C#
using UnityEngine;
using System.Collections;
public class example : MonoBehaviour {
void Awake() {
print(Application.persistentDataPath);
}
}
using System.Collections;
public class example : MonoBehaviour {
void Awake() {
print(Application.persistentDataPath);
}
}
반응형