Class ShareWindow | WebGL Publisher | 3.0.0
docs.unity3d.com
    Show / Hide Table of Contents

    Class ShareWindow

    An Editor window that allows the user to share a WebGL build of the project to Unity Connect

    Inheritance
    Object
    Object
    ScriptableObject
    EditorWindow
    ShareWindow
    Inherited Members
    EditorWindow.BeginWindows()
    EditorWindow.EndWindows()
    EditorWindow.ShowNotification(GUIContent)
    EditorWindow.ShowNotification(GUIContent, Double)
    EditorWindow.RemoveNotification()
    UnityEditor.EditorWindow.ShowTab()
    EditorWindow.Focus()
    EditorWindow.ShowUtility()
    EditorWindow.ShowPopup()
    EditorWindow.ShowModalUtility()
    EditorWindow.ShowAsDropDown(Rect, Vector2)
    EditorWindow.Show()
    EditorWindow.Show(Boolean)
    EditorWindow.ShowAuxWindow()
    EditorWindow.ShowModal()
    EditorWindow.GetWindow(Type, Boolean, String, Boolean)
    EditorWindow.GetWindow(Type, Boolean, String)
    EditorWindow.GetWindow(Type, Boolean)
    EditorWindow.GetWindow(Type)
    EditorWindow.GetWindowWithRect(Type, Rect, Boolean, String)
    EditorWindow.GetWindowWithRect(Type, Rect, Boolean)
    EditorWindow.GetWindowWithRect(Type, Rect)
    UnityEditor.EditorWindow.GetWindow<T>()
    UnityEditor.EditorWindow.GetWindow<T>(System.Boolean)
    UnityEditor.EditorWindow.GetWindow<T>(System.Boolean, System.String)
    UnityEditor.EditorWindow.GetWindow<T>(System.String)
    UnityEditor.EditorWindow.GetWindow<T>(System.String, System.Boolean)
    UnityEditor.EditorWindow.GetWindow<T>(System.Boolean, System.String, System.Boolean)
    UnityEditor.EditorWindow.GetWindow<T>(System.Type[])
    UnityEditor.EditorWindow.GetWindow<T>(System.String, System.Type[])
    UnityEditor.EditorWindow.GetWindow<T>(System.String, System.Boolean, System.Type[])
    UnityEditor.EditorWindow.CreateWindow<T>(System.Type[])
    UnityEditor.EditorWindow.CreateWindow<T>(System.String, System.Type[])
    UnityEditor.EditorWindow.HasOpenInstances<T>()
    EditorWindow.FocusWindowIfItsOpen(Type)
    UnityEditor.EditorWindow.FocusWindowIfItsOpen<T>()
    UnityEditor.EditorWindow.GetWindowWithRect<T>(UnityEngine.Rect)
    UnityEditor.EditorWindow.GetWindowWithRect<T>(UnityEngine.Rect, System.Boolean)
    UnityEditor.EditorWindow.GetWindowWithRect<T>(UnityEngine.Rect, System.Boolean, System.String)
    UnityEditor.EditorWindow.GetWindowWithRect<T>(UnityEngine.Rect, System.Boolean, System.String, System.Boolean)
    EditorWindow.Close()
    EditorWindow.Repaint()
    EditorWindow.SendEvent(Event)
    EditorWindow.GetExtraPaneTypes()
    EditorWindow.rootVisualElement
    EditorWindow.wantsMouseMove
    EditorWindow.wantsMouseEnterLeaveWindow
    EditorWindow.autoRepaintOnSceneChange
    EditorWindow.maximized
    EditorWindow.focusedWindow
    EditorWindow.mouseOverWindow
    EditorWindow.minSize
    EditorWindow.maxSize
    EditorWindow.title
    EditorWindow.titleContent
    UnityEditor.EditorWindow.depthBufferBits
    UnityEditor.EditorWindow.antiAlias
    EditorWindow.position
    ScriptableObject.SetDirty()
    ScriptableObject.CreateInstance(String)
    ScriptableObject.CreateInstance(Type)
    ScriptableObject.CreateInstance<T>()
    Object.GetInstanceID()
    Object.GetHashCode()
    Object.Equals(Object)
    Object.Instantiate(Object, Vector3, Quaternion)
    Object.Instantiate(Object, Vector3, Quaternion, Transform)
    Object.Instantiate(Object)
    Object.Instantiate(Object, Transform)
    Object.Instantiate(Object, Transform, Boolean)
    Object.Instantiate<T>(T)
    Object.Instantiate<T>(T, Vector3, Quaternion)
    Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
    Object.Instantiate<T>(T, Transform)
    Object.Instantiate<T>(T, Transform, Boolean)
    Object.Destroy(Object, Single)
    Object.Destroy(Object)
    Object.DestroyImmediate(Object, Boolean)
    Object.DestroyImmediate(Object)
    Object.FindObjectsOfType(Type)
    Object.DontDestroyOnLoad(Object)
    Object.DestroyObject(Object, Single)
    Object.DestroyObject(Object)
    Object.FindSceneObjectsOfType(Type)
    Object.FindObjectsOfTypeIncludingAssets(Type)
    Object.FindObjectsOfType<T>()
    Object.FindObjectOfType<T>()
    Object.FindObjectsOfTypeAll(Type)
    Object.FindObjectOfType(Type)
    Object.ToString()
    Object.name
    Object.hideFlags
    Namespace: Unity.Connect.Share.Editor
    Syntax
    public class ShareWindow : EditorWindow

    Fields

    TabError

    Name of the tab displayed when an error occurs

    Declaration
    public const string TabError = "Error"
    Field Value
    Type Description
    String

    TabInstallWebGL

    Name of the tab displayed when WebGL module is not installed

    Declaration
    public const string TabInstallWebGL = "InstallWebGl"
    Field Value
    Type Description
    String

    TabIntroduction

    Name of the tab displayed to a first time user

    Declaration
    public const string TabIntroduction = "Introduction"
    Field Value
    Type Description
    String

    TabNoBuild

    Name of the tab displayed when no build is available

    Declaration
    public const string TabNoBuild = "NoBuild"
    Field Value
    Type Description
    String

    TabNotLoggedIn

    Name of the tab dsplayed when the user is not logged in

    Declaration
    public const string TabNotLoggedIn = "NotLoggedIn"
    Field Value
    Type Description
    String

    TabProcessing

    Name of the tab displayed while processing a build

    Declaration
    public const string TabProcessing = "Processing"
    Field Value
    Type Description
    String

    TabSuccess

    Name of the tab displayed when a build is successfully published

    Declaration
    public const string TabSuccess = "Success"
    Field Value
    Type Description
    String

    TabUpload

    Name of the tab from which builds can be uploaded

    Declaration
    public const string TabUpload = "Upload"
    Field Value
    Type Description
    String

    TabUploading

    Name of the tab displayed while uploading a build

    Declaration
    public const string TabUploading = "Uploading"
    Field Value
    Type Description
    String

    Properties

    CurrentTab

    The active tab in the UI

    Declaration
    public string CurrentTab { get; }
    Property Value
    Type Description
    String

    IsWaitingForLocalizationToBeReady

    Is localization still initializing?

    Declaration
    public bool IsWaitingForLocalizationToBeReady { get; }
    Property Value
    Type Description
    Boolean

    Store

    A representation of the AppState

    Declaration
    public Store<AppState> Store { get; }
    Property Value
    Type Description
    Store<AppState>

    Methods

    FindInstance()

    Finds the first open instance of ShareWindow, if any.

    Declaration
    public static ShareWindow FindInstance()
    Returns
    Type Description
    ShareWindow

    LoadUXML(String)

    Loads a VisualTreeAsset from an UXML file

    Declaration
    public static VisualTreeAsset LoadUXML(string name)
    Parameters
    Type Name Description
    String name

    name of the file in the UI folder of the package

    Returns
    Type Description
    VisualTreeAsset

    The VisualTreeAsset representing the content of the file

    OnWebGLBuildTargetSet()

    Called when the WebGL target platform is already selected or when the user switches to it through the Publisher

    Declaration
    public void OnWebGLBuildTargetSet()

    OpenShareWindow()

    Opens the Publisher's window

    Declaration
    [MenuItem("Publish/WebGL Project")]
    public static ShareWindow OpenShareWindow()
    Returns
    Type Description
    ShareWindow
    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