Init() public static méthode

public static Init ( ) : AssetStoreWindow
Résultat AssetStoreWindow
        public static void OpenURL(string url)
        {
            AssetStoreWindow assetStoreWindow = AssetStoreWindow.Init();

            assetStoreWindow.InvokeJSMethod("document.AssetStore", "openURL", new object[]
            {
                url
            });
            AssetStoreContext.GetInstance().initialOpenURL = url;
        }
        public static void OpenURL(string url)
        {
            AssetStoreWindow assetStoreWindow = AssetStoreWindow.Init();

            assetStoreWindow.InvokeJSMethod("document.AssetStore", "openURL", new object[]
            {
                url
            });
            assetStoreWindow.CreateContextObject();
            assetStoreWindow.m_ContextScriptObject.initialOpenURL = url;
        }
        public static void OpenURL(string url)
        {
            AssetStoreWindow assetStoreWindow = AssetStoreWindow.Init();
            bool             flag             = !assetStoreWindow.initialized;

            assetStoreWindow.InvokeJSMethod("document.AssetStore", "openURL", new object[]
            {
                url
            });
            AssetStoreContext.GetInstance().initialOpenURL = url;
            if (flag)
            {
                assetStoreWindow.ScheduleOpenURL(TimeSpan.FromSeconds(3.0));
            }
        }