docs.unity3d.com
    Show / Hide Table of Contents

    Class Player

    Inheritance
    Object
    Player
    Namespace: UnityEditor.Localization.Platform.Android
    Syntax
    public static class Player : object

    Methods

    AddLocalizationToAndroidGradleProject(String)

    Updates the Gradle project 'strings.xml' file with localized values using the AppInfo from Metadata.

    Declaration
    public static void AddLocalizationToAndroidGradleProject(string projectDirectory)
    Parameters
    Type Name Description
    String projectDirectory

    The root project directory to be updated. This is where the Android player was built to.

    AddLocalizationToAndroidGradleProject(String, AppInfo, RoundIconsInfo, LegacyIconsInfo, AdaptiveIconsInfo)

    Updates the Android Gradle project file with localized values using AppInfo.

    Declaration
    public static void AddLocalizationToAndroidGradleProject(string projectDirectory, AppInfo appInfo, RoundIconsInfo roundIconsInfo = null, LegacyIconsInfo legacyIconsInfo = null, AdaptiveIconsInfo adaptiveIconsInfo = null)
    Parameters
    Type Name Description
    String projectDirectory

    The root project directory to be updated. This is where the Android player was built to.

    AppInfo appInfo

    Contains the localized values for the App.

    RoundIconsInfo roundIconsInfo

    Contains the localized values for Android Round Icon. Refer Android documentation for more details : https://developer.android.com/about/versions/nougat/android-7.1.html#circular-icons

    LegacyIconsInfo legacyIconsInfo

    Contains the localized values for Android Legacy Icon.

    AdaptiveIconsInfo adaptiveIconsInfo

    Contains the localized values for Android Adaptive Icon. . Refer Android documentation for more details : https://developer.android.com/guide/practices/ui_guidelines/icon_design_adaptive

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023