유니티에서 안드로이드와 연동하는 소스를 export 하고 실행했더니 이런 오류가 뜬다. AndroidJavaException: java.lang.NoSuchFieldError: no static field with name=’currentActivity’ signature=’Ljava/lang/Object;’ in class Lkr/mint/widgetwithunity/MainActivity; at UnityEngine.AndroidJNISafe.CheckException () [0x00000] in <filename unknown>:0 at UnityEngine.AndroidJNISafe.GetStaticFieldID (IntPtr clazz,Read More →

void OnGUI() { if (GUI.Button(new Rect(Screen.width/2 – 50, Screen.height/2 + 10, 100, 30), “Start”)) Application.LoadLevel(“Play”); } 햐… 씬 이동이 이렇게 쉬운거였다니 ㄷㄷRead More →