Ejemplo n.º 1
0
 private void CreateScriptObject()
 {
     if (this.scriptObject == null)
     {
         this.scriptObject           = ScriptableObject.CreateInstance <WebScriptObject>();
         this.scriptObject.hideFlags = HideFlags.HideAndDontSave;
         this.scriptObject.webView   = this.webView;
     }
 }
Ejemplo n.º 2
0
 private void CreateScriptObject()
 {
     if (this.scriptObject == null)
     {
         this.scriptObject = ScriptableObject.CreateInstance<WebScriptObject>();
         this.scriptObject.hideFlags = HideFlags.HideAndDontSave;
         this.scriptObject.webView = this.webView;
     }
 }
Ejemplo n.º 3
0
 private void CreateScriptObject()
 {
     if ((UnityEngine.Object) this.scriptObject != (UnityEngine.Object)null)
     {
         return;
     }
     this.scriptObject           = ScriptableObject.CreateInstance <WebScriptObject>();
     this.scriptObject.hideFlags = HideFlags.HideAndDontSave;
     this.scriptObject.webView   = this.webView;
 }
        private void CreateScriptObject()
        {
            if (scriptObject != null)
            {
                return;
            }

            scriptObject           = CreateInstance <WebScriptObject>();
            scriptObject.hideFlags = HideFlags.HideAndDontSave;
            scriptObject.webView   = webView;
        }
 private void CreateScriptObject()
 {
   if ((UnityEngine.Object) this.scriptObject != (UnityEngine.Object) null)
     return;
   this.scriptObject = ScriptableObject.CreateInstance<WebScriptObject>();
   this.scriptObject.hideFlags = HideFlags.HideAndDontSave;
   this.scriptObject.webView = this.webView;
 }