본문 바로가기

전체 글

(46)
[Mac] Finder - 숨겨진 파일과 폴더 드러내기 맥을 사용하면서 숨겨진 파일과 폴더를 찾는 일이 가끔 생기는데요. 이를 드러내는 방법을 알아 보겠습니다. 하나. 터미널에서 defaults write com.apple.Finder AppleShowAllFiles YES혹은 defaults write com.apple.Finder AppleShowAllFiles True를 입력한다. 둘. 터미널에서 sudo chflags nohidden \[경로\]를 입력한다. 예를 들어서 [경로]가 private폴더라면 sudo chflags nohidden /private라고 입력한다.
[Unity] AssetBundle 사용하기 - 웹에서 모바일( 안드로이드 )로 로드하기 - AssetBundle을 제작할 때, 플랫폼끼리 호환이 되지 않습니다. 아래의 표에서 알 수 있듯이, 모바일로 AssetBundle을 사용할 경우에는 플렛폼 별로 따로 제작을 해야 합니다. Standalone Web Player iOS Android Editor 👌 👌 👌 👌 Standalone 👌 👌 Web Player 👌 👌 iOS 👌 Android 👌 - 이전에 AssetBundle을 생성하는 코드를 보겠습니다. // C# Example // Builds an asset bundle from the selected objects in the project view. // Once compiled go to "Menu" -> "Assets" and select one of the choices //..
[Unity] AssetBundle 사용하기 - Web, Server - 서버가 있을 때는 서버를 사용하지만, 이번 예시에서는 드롭박스를 사용하겠습니다. 이전 포스트에서 생성한 AssetBundle을 드롭박스의 public 폴더에 올리고, 우클릭으로 링크를 얻습니다. 그 링크를 path에 삽입하고 AssetBundle을 로드해 보겠습니다. using UnityEngine; using System.Collections; public class LoadAssetBundleFromWeb : MonoBehaviour { // url은 드롭박스의 public 폴더에 올린 AssetBundle의 링크 주소다. // 서버에서 로드하기 위해서는 http://로 시작하는 주소를 사용한다. private string path = "url"; // 버튼 이벤트가 발생하면 코루틴을 시작한다. ..
[Unity] AssetBundle 사용하기 - Local - AssetBundle을 로드하는 위치는 서버와 로컬 두 가지이다. - 우선 로컬에서 로드하는 방법을 알아 봅시다. - 첫 번째 방법. using System; using UnityEngine; using System.Collections; class NonCachingLoadExample : MonoBehaviour { public string BundleURL; public string AssetName; IEnumerator Start () { // Download the file from the URL. It will not be saved in the Cache using ( WWW www = new WWW ( BundleURL ) ) { yield return www; if ( www.err..

반응형