Sabtu, 24 Februari 2018
Kamis, 01 Februari 2018
Get Andoid Id
https://answers.unity.com/questions/430630/how-can-i-get-android-id-.html
AndroidJavaClass clsUnity = new AndroidJavaClass("com.unity3d.player.UnityPlayer");
AndroidJavaObject objActivity = clsUnity.GetStatic("currentActivity");
AndroidJavaObject objResolver = objActivity.Call("getContentResolver");
AndroidJavaClass clsSecure = new AndroidJavaClass("android.provider.Settings$Secure");
string android_id = clsSecure.CallStatic("getString", objResolver, "android_id");
Langganan:
Komentar (Atom)
Unity Toolbar Extender
https://github.com/marijnz/unity-toolbar-extender/blob/master/Assets/ToolbarExtender/Scripts/Editor/ExtendedToolbarWindow.cs
-
It's really convenient to build an APK and automagically play it in phone, but the tangled cables is not so great https://developer.an...
-
Ever thinking about testing multiplayer stuffs using Unity without have to compile standalone to test them? This tips from this support we...
-
I made a script which disabled game object contains name "<INACTIVE>" and enable game object contains name "<ACTIVE...