docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class PlatformExtensions

    Platform class extensions.

    Inheritance
    object
    PlatformExtensions
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Unity.Build.Classic
    Assembly: solution.dll
    Syntax
    public static class PlatformExtensions

    Properties

    Name Description
    IsEditorInstalledWithHub

    Determine if the editor was installed with Unity Hub.

    Methods

    Name Description
    InstallModule(Platform)

    Install a platform module from Unity Hub or download page.

    IsActiveBuildTarget(Platform)

    Determine if a platform is currently the active build target.

    IsModuleInstalled(Platform)

    Determine if a platform module is installed.

    SetActiveBuildTargetAsync(Platform)

    Set a platform as the current active build target.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)