If these strings have no values, Unity returns. For Android devices, Unity tries to read device_name and bluetooth_name from secure system settings. For more information, see Android developer documentation on ANDROID_ID. More info See in Glossary: ScriptĪlways returns the md5 of ANDROID_ID. To access device-specific properties, use these scripts A piece of code that allows you to create your own Components, trigger game events, modify Component properties over time and respond to user input in any way you like. For more information, see Handheld.StartActivityIndicator. Mobile operating systems have built-in activity indicators your app can use during slow operations. Devices without vibration hardware ignore this call. You can trigger a vibration by calling Handheld.Vibrate. Accessing device-specific features and propertiesĪpps can access most features of an Android device through the Input and Handheld classes. See documentation on Platform dependent compilation to learn more. Note: For cross-platform Projects, use the UNITY_ANDROID #define directive to conditionally compile Android-specific C# code.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |