[유니티3D엔진] 유니티 Scene 로딩
public IEnumerator IE_NextLoadLevel(string SceneName)
{
// async.progress pc버전에서는 안된다
AsyncOperation async = Application.LoadLevelAsync( SceneName );
while (async.isDone == false)
{
float p = async.progress * 100f;
int pRounded = Mathf.RoundToInt(p);
Popup_scene_loding.transform.FindChild("Progress_Label").GetComponent<UILabel>().text = pRounded.ToString() + "%";
//LoadingBar를 NGUI로 하나 만들고 NGUI의 ProgressBar의 SliderValue 값에 넣어 줍니다.
Popup_scene_loding.SetActive(true);
Popup_scene_loding.transform.FindChild("Loding_Sprite").GetComponent<UISprite>().fillAmount = async.progress;
Debug.Log(async.progress);
yield return true;
}
//1.0 != asynce.progress 아닐 수도 있기에 1.0으로 고정
Popup_scene_loding.transform.FindChild("Loding_Sprite").GetComponent<UISprite>().fillAmount = 1.0f;
}
-
[CentOS] NTFS마운트하기
-
CentOS 6.x 설치 시 BIOS RAID metadata 문제
-
XE 속도개선 (XE 캐시파일 초기화 시간 줄이는 팁) - 다국어 제거
-
Chrome on Centos
-
INSTALLING NVIDIA LINUX DRIVERS IN A XEN ENABLED KERNEL
-
Install NVIDIA Drivers in XEN Kernel
-
XE 속도 개선팁 모음
-
memcached 설치 및 설정
-
XE 쇼핑몰 솔루션
-
알아두면 유용한 무료사이트 20선
-
Ubuntu, HWP 2008 installation on x86 and x64 (only Link)
-
USB 저장장치에 의한 데이터 유출 방지 방법
-
파일검색 루틴 (개발용)
-
Realtek 8723be-bt 무선랜 드라이버 (한성 u44x )
-
[LINK] 윈도우 8 관리자 권한 설정으로 항상 관리자 권한 얻기
-
C# How to make a simple MP3 player in C#
-
[ 유니티3D엔진 ] FPS 프레임 조절
-
[ OS X ] 폴더 숨김파일 표시
-
C#에서 무료 TTS 사용하기
-
우분투 sudo 비밀번호 안물어보게 하기