AndroidAppInfo
The localized values that describe an Android application in its resources.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Property
- Namespace: Unity.Localization
- Assembly: UnityEngine.LocalizationRuntimeModule
public static AppInfo AndroidAppInfo { get; }
Remarks
Holds the application name and the launcher icons the operating system shows while the application is not running. Unity reads it when it builds an Android player and writes the values as localized resources, so configure it before building. Without a registered settings instance this reads as null.
Configure the Android application name before a build.
Examples
using Unity.Localization;using Android = Unity.Localization.Android;namespace Unity.Localization.Samples{ public class AndroidAppInfoExample { public void Run(Android.AppInfo appInfo) { appInfo.DisplayName.SetReference("App Strings", "App Display Name"); } }}