반응형

Unity3D 43

Unity3d Build Error - Android SDK path error - Unable to list target platforms

Android Studio를 최신으로 업데이트 이후 Unity3D에서 android apk 빌드 시 다음 에러 발생시 해결 방법 "Unable to list target platforms. Please make sure the android sdk path is correct. See the Console for more details. See the Console for details." 저 툴 명령어가 Unity가 사용 하는 기능이 빠졌다고 한다는데... 다음 링크에서 이전 버전 Tools를 다운로드 받아서 (tools r25.2.5) www.dl.google.com/android/repository/tools_r25.2.5-windows.zip Android SDK가 설치된 폴더의 원래 tools ..

Unity3D 2020.05.11

유니티3디의 JsonUtility 사용법 링크

https://wergia.tistory.com/164 유니티에서 JSON 사용하기(Unity JSON Utility) 출처: https://wergia.tistory.com/164 [베르의 프로그래밍 노트] [Unity3D] 유니티에서 JSON 사용하기(Unity JSON Utility) 유니티에서 JSON 사용하기(Unity JSON Utility) 작성 기준 버전 :: 2018.3.1f1 JSON은 웹이나 네트워크에서 서버와 클라이언트 사이에서 데이터를 주고 받을 때 사용하는 개방형 표준 포멧으로, 텍스트를 사용하기.. wergia.tistory.com

Unity3D 2020.04.21

반복문을 가지는 코루틴 대기 하는 방법 - Coroutine Loop

반복문을 가지는 코루틴 대기 하는 방법 하나의 코루틴에서 서브로 반복문을 가지는 코루틴을 호출 하고 그 코루틴이 리턴 할 때까지 기다려야 할 때가 있다. void Start() { StartCoroutine( RunFirst() ); } IEnumerator RunFirst() { yield return StartCoroutine( RunSubFuntion() ); } IEnumerator RunSubFuntion() { for(int i = 0; i < 10 ; i ++) { yield return new WaitForSeconds(1f); } } 위와 같이 yield return StartCoroutine() 으로 코루틴을 호출 하면 스킵 하지 않고 리턴 할 때 까지 기다리게 된다. Coroutine..

Unity3D 2020.04.01

Curved World with Surface Shader

유니티의 Surface Shader를 이용 하여 Curved World를 구현 하는 방법을 설명 합니다. Download Scripts and Shaders for this video - Unity Package ( Unity 2019.2.12f1 ) : https://drive.google.com/drive/folders/1nEheC88X7ZUfgCdsVIoAWNoDWhZ5XiqC?usp=sharing CurvedWorld_Sample - Google 드라이브 drive.google.com Grass Road Race asset reference : https://assetstore.unity.com/packages/3d/environments/roadways/grass-road-race-46974 G..

Unity3D 2020.02.28

Loading Scene Asynchronously for Unity

Loading Scene Asynchronously for Unity 비동기 씬 로딩 하기 및 로딩 프로그래스 바에 값 넘기기 using UnityEngine; using System.Collections; using UnityEngine.SceneManagement; public class LoadingScene : MonoBehaviour { public string NextScene = "MainScene"; public UISlider LoadingProgressBar; public void Start() { StartCoroutine( LoadNextScene() ); } IEnumerator LoadNextScene() { AsyncOperation async = SceneManager.Loa..

Unity3D 2020.02.26

Generic Singleton for Unity - 싱글턴 패턴 사용 하기

1. 검색 "unity wiki generic singleton" 으로 찾은 제너릭 싱글턴 ( 탬플릿 ) 코드 : 쓰레드 세이프 및 에디터에서 어플리케이션 종료 후 비정상 행동까지 방지하게 구현 되어 있다. using UnityEngine; /// /// Inherit from this base class to create a singleton. /// e.g. public class MyClassName : Singleton {} /// public class Singleton : MonoBehaviour where T : MonoBehaviour { // Check to see if we're about to be destroyed. private static bool m_ShuttingDown = ..

Unity3D 2020.02.25
반응형