Init() 공개 정적인 메소드

public static Init ( ) : AssetStoreWindow
리턴 AssetStoreWindow
예제 #1
0
        public static void OpenURL(string url)
        {
            AssetStoreWindow assetStoreWindow = AssetStoreWindow.Init();

            assetStoreWindow.InvokeJSMethod("document.AssetStore", "openURL", new object[]
            {
                url
            });
            AssetStoreContext.GetInstance().initialOpenURL = url;
        }
예제 #2
0
        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;
        }
예제 #3
0
        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));
            }
        }