// Use this for initialization
    void Awake()
    {
        //example0 = GetComponent<Example0>();
        handControll = refObect.GetComponent <HandControllerStreetView>();

        if (!AwesomiumUnityWebCore.IsRunning)
        {
            AwesomiumUnityWebCore.Initialize();
        }
        AwesomiumUnityWebCore.CreateWebCoreHelper();

        // Call resize which will create a texture and a webview for us since both do not exist yet at this point.
        Resize(m_Width, m_Height);

        if (GetComponent <GUITexture>())
        {
            GetComponent <GUITexture>().texture = m_Texture;
        }
        else if (GetComponent <Renderer>() && GetComponent <Renderer>().material)
        {
            GetComponent <Renderer>().material.mainTexture      = m_Texture;
            GetComponent <Renderer>().material.mainTextureScale = new Vector2(Mathf.Abs(GetComponent <Renderer>().material.mainTextureScale.x) * (m_FlipX ? -1.0f : 1.0f),
                                                                              Mathf.Abs(GetComponent <Renderer>().material.mainTextureScale.y) * (m_FlipY ? -1.0f : 1.0f));
        }
        else
        {
            Debug.LogWarning("There is no Renderer or guiTexture attached to this GameObject! AwesomiumUnityWebTexture will render to a texture but it will not be visible.");
        }

        // Now load the URL.
        // IMPORTANT: For some reason, a WebView MUST have loaded something atleast ONCE before calling ANY other function on it (think input injection).
        // Therefore, there is no option available to delay the loading of the URL and it is forced in this constructor. (Note how we wait until the loading
        // is complete before we exit the constructor).
        LoadURL(m_URL);

        while (m_WebView.IsLoading)
        {
            AwesomiumUnityWebCore.Update();
        }

        m_WebView.SetTransparent(m_Transparent);
    }
    // Use this for initialization
    void Awake()
    {
        //example0 = GetComponent<Example0>();
        handControll = refObect.GetComponent<HandControllerStreetView>();

        if (!AwesomiumUnityWebCore.IsRunning)
        {
            AwesomiumUnityWebCore.Initialize();
        }
        AwesomiumUnityWebCore.CreateWebCoreHelper();

        // Call resize which will create a texture and a webview for us since both do not exist yet at this point.
        Resize(m_Width, m_Height);

        if (GetComponent<GUITexture>())
        {
            GetComponent<GUITexture>().texture = m_Texture;
        }
        else if (GetComponent<Renderer>() && GetComponent<Renderer>().material)
        {
            GetComponent<Renderer>().material.mainTexture = m_Texture;
            GetComponent<Renderer>().material.mainTextureScale = new Vector2(	Mathf.Abs(GetComponent<Renderer>().material.mainTextureScale.x) * (m_FlipX ? -1.0f : 1.0f),
                                                                Mathf.Abs(GetComponent<Renderer>().material.mainTextureScale.y) * (m_FlipY ? -1.0f : 1.0f));
        }
        else
        {
            Debug.LogWarning("There is no Renderer or guiTexture attached to this GameObject! AwesomiumUnityWebTexture will render to a texture but it will not be visible.");
        }

        // Now load the URL.
        // IMPORTANT: For some reason, a WebView MUST have loaded something atleast ONCE before calling ANY other function on it (think input injection).
        // Therefore, there is no option available to delay the loading of the URL and it is forced in this constructor. (Note how we wait until the loading
        // is complete before we exit the constructor).
        LoadURL(m_URL);

        while (m_WebView.IsLoading)
        {
            AwesomiumUnityWebCore.Update();
        }

        m_WebView.SetTransparent(m_Transparent);
    }