https://gamemechanicexplorer.com/#

'공부' 카테고리의 다른 글

jar plugin exclude BuildConfig  (0) 2021.12.13
git ignore 목록 사이트  (0) 2019.01.09
Adaptive Scalable Texture Compression (ASTC Format)  (0) 2017.12.01
ios Push 관련 코드 저장용  (1) 2017.06.16
git branch 삭제 후 복구 하기  (0) 2017.05.17

- READ_PHONE_STATE


한글로 보면 전화걸기 뭐 이런 식으로 설명하고 해당 권한을 받는다. (make and manage phone call)


유니티상에서 SystemInfo.deviceUniqueIdentifier를 사용하면 자동으로 추가되는데 해당 코드들을 지워주던지 다른 값으로 대체하면 된다.


Plugin 상에서 요구하는 경우 해당 Plugin에서 정말 필요로 하는 것인지 찾아보고 처리하자. (ReadMe 문서나 해당 플러그인 Support 페이지에 어디에 필요한지, 지워도 되는지 보통 설명되어있었다.)


- WRITE_EXTERNAL_STORAGE, READ_EXTERNAL_STORAGE

Application.persistentDataPath 사용 및 Player Setting - Other Setting 에서 Write Access 설정으로 자동 추가됨.


PlayMaker의 경우 위치정보를 PlayMaker의 스크립트에서 GetLocation 이었나 기억이 잘 안나지만 해당 스크립트에서 요청하여 자동으로 권한 요청이 추가된다.

맥 에디터 Application.persistentDataPath 4.5.5 이상부터는

/Users/<UserName>/Library/Application Support/<Company Name>/<ApplicationName>/

출처 :unitystudy.net


[윈도우 에디터]
Application.persistentDataPath : 사용자디렉토리/AppData/LocalLow/회사이름/프로덕트이름
파일 읽기 쓰기 가능
Application.dataPath : 프로젝트디렉토리/Assets
Application.streamingAssetsPath : 프로젝트디렉토리/Assets/StreamingAssets
파일 읽기 쓰기 가능


[윈도우 응용프로그램]
Application.persistentDataPath : 사용자디렉토리/AppData/LocalLow/회사이름/프로덕트이름
파일 읽기 쓰기 가능
Application.dataPath : 실행파일/실행파일_Data
Application.streamingAssetsPath : 실행파일/실행파일_Data/StreamingAssets
파일 읽기 쓰기 가능

[맥 에디터]
Application.persistentDataPath : 사용자디렉토리/Library/Caches/unity.회사이름.프로덕트이름
파일 읽기 쓰기 가능
Application.dataPath : 프로젝트디렉토리/Assets
Application.streamingAssetsPath : 프로젝트디렉토리/Assets/StreamingAssets
파일 읽기 쓰기 가능

[맥 응용프로그램]
Application.persistentDataPath : 사용자디렉토리/Library/Caches/unity.회사이름.프로덕트이름
파일 읽기 쓰기 가능
Application.dataPath : 실행파일.app/Contents
Application.streamingAssetsPath : 실행파일.app/Contents/Data/StreamingAssets
파일 읽기 쓰기 가능

[웹 플랫폼]
웹에서는 명시적인 파일 쓰기 불가능. 애셋번들로 해야함
Application.persistentDataPath : /
Application.dataPath : unity3d파일이 있는 폴더
Application.streamingAssetsPath : 값 없음.

[안드로이드 External]
Application.persistentDataPath : /mnt/sdcard/Android/data/번들이름/files
파일 읽기 쓰기 가능
Application.dataPath : /data/app/번들이름-번호.apk
Application.streamingAssetsPath : jar:file:///data/app/번들이름.apk!/assets 
파일이 아닌 WWW로 읽기 가능

[안드로이드 Internal] 
Application.persistentDataPath : /data/data/번들이름/files/
파일 읽기 쓰기 가능
Application.dataPath : /data/app/번들이름-번호.apk
Application.streamingAssetsPath : jar:file:///data/app/번들이름.apk!/assets
파일이 아닌 WWW로 읽기 가능

[iOS]
Application.persistentDataPath : /var/mobile/Applications/프로그램ID/Documents 
파일 읽기 쓰기 가능
Application.dataPath : /var/mobile/Applications/프로그램ID/앱이름.app/Data
Application.streamingAssetsPath : /var/mobile/Applications/프로그램ID/앱이름.app/Data/Raw 
파일 읽기 가능, 쓰기 불가능

  • grey clock - build is pending (i.e. waiting to be sent to a builder)
  • green spinning unity symbol - build is in progress
  • red X - build failed
  • orange exclamation mark - build was restarted
  • orange stikethrough (the last icon you posted) - build was canceled



출처 

http://forum.unity3d.com/threads/project-build-status-icons-meaning.377276/

1. 애플 개발자 센터 접속 ( https://developer.apple.com )

- Member Center 로 들어간다


2. Certificates, Identifiers & Profiles 로 들어가서 해당 앱의 Identifiers 로 접속


3. Push Notification 체크 후 Continue


4. 다시 Identifiers 로 돌아가서 추가한 것을 확인해보면 황색등이 점등되어있을 것인데 인증서를 등록해야한다.

Edit을 누르자


5. 쭉 내려서 Push Notification 이 체크가 풀려있으면 체크하고

하위 항목을 보면 위에서부터 개발 시 사용할 인증서, 배포 시 사용할 인증서이다.

이제 잠시 이 화면은 킵 해두고 CSR파일을 생성하자.


6. 맥 상에서 키체인 창을 찾아서 띄우고 상단바의 키체인 접근 -> 인증서 지원 -> 인증 기관에서 인증서 요청 을 선택한다


7. 사용자 이름, 사용자 이메일 작성하고 하단에 선택할 것들은 본인의 상황에 맞게 선택한 후 다음을 누른다


8. 2048 bit, RSA 로 저장 ( Product 용, Develop 용 따로 만들어야 한다 )


9. 아까 킵 해둔 화면에서 각각 등록하면 끝 


-----  pem file -----

ex) 등록 후 인증서 다운받고 키체인창에서 내보내기로 p12파일로 변환 후 


openssl pkcs12 -in name.p12 -out name.pem -nodes

같이 만들면 된다. (Open SSL 필요)

+ Recent posts