[유니티] 안드로이드 플러그인 쪽 터치 안 먹을 경우
Programing/유니티 2016. 1. 4. 16:56 |AndroidManaifest.xml 파일에
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.TTT.TTr" android:installLocation="preferExternal" android:versionCode="1" android:versionName="1.0">
<supports-screens android:smallScreens="true" android:normalScreens="true" android:largeScreens="true" android:xlargeScreens="true" android:anyDensity="true" />
<application android:theme="@android:style/Theme.NoTitleBar.Fullscreen" android:icon="@drawable/app_icon" android:label="@string/app_name" android:debuggable="true">
<activity android:name="com.unity3d.player.UnityPlayerNativeActivity" android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
<category android:name="android.intent.category.LEANBACK_LAUNCHER" />
</intent-filter>
<meta-data android:name="unityplayer.UnityActivity" android:value="true" />
<meta-data android:name="unityplayer.ForwardNativeEventsToDalvik" android:value="true" />
</activity>
</application>
</manifest>
빨간색 부분 추가 시켜주면 된다. 값은 true로 해야 된다.
파일 경로는 Plugins\Android 안에 위치하면 된다.
'Programing > 유니티' 카테고리의 다른 글
[유니티]Google.JarResolver.PlayServicesSupport.DependOn (0) | 2016.03.21 |
---|---|
[유니티] Error building Player: CommandInvokationFailure: Unable to merge android manifests. See the Console for more details (0) | 2016.02.19 |
[Unity] 아틀라스 메모리 해제 안되는 문제 (0) | 2015.07.10 |
[유니티] 특정 폰에서 Label(폰트) 안 나오는 문제 (0) | 2015.02.12 |
Unity anim 설정 (Animator or Animation) (0) | 2014.11.27 |