상세한 것은 여기(Platform Dependent Compilation)
구동 환경 | |
---|---|
UNITY_EDITOR | 에디터에서 실행하는 경우 |
UNITY_STANDALONE_OSX | OSX에서 구동하는 경우 |
UNITY_STANDALONE_WIN | 윈도우즈에서 구동하는 경우 |
UNITY_STANDALONE_LINUX | 리눅스 |
UNITY_STANDALONE | osx, linux, win |
UNITY_WEBPLAYER | 웹 |
UNITY_IPHONE | 아이폰 |
UNITY_ANDROID | 안드폰 |
UNITY_FLASH | 플래시 |
유니티 버젼 | |
UNITY_4_1 | Platform define for major version of Unity 4.1. |
Application의 런타임 정보를 들고 있는 클래스
게임 데이터 폴더를 가리킨다.
UnityEditor | <Path to Project Folder>/Assets |
Mac | <Path to Player App Bundle>/Contents |
iPhone | <path to player app bundle>/<AppName.app>/Data |
Win | <path to executablename_Data folder>/ |
Web/Flash | 플레이어가 구동되는 URL에 해당되는 폴더 |
print (Application.dataPath);
Screen.lockCursor = true; // 커서를 없애버린다.
wiki.unity3d
에디터
?
컨트롤
effects
physics
network
Shader
?