Пример #1
0
    //void On

    /*void OnGUI ()
     * {
     *      if (!Valid)
     *              return;
     *
     *      if (!KeyboardEnabled)
     *              return;
     *
     *      View.ProcessKeyboard (Event.current);
     *
     * }
     */
    // Delegate for initializing one view has been created
    void viewCreated(UWKView view)
    {
        Valid = true;

        view.AlphaMask = AlphaMask;

        if (HtmlText != null)
        {
            view.LoadTextAssetHTML(HtmlText);
            View.LoadFinished += loadFinished;
        }
    }
Пример #2
0
    //void On
    /*void OnGUI ()
    {
        if (!Valid)
            return;

        if (!KeyboardEnabled)
            return;

        View.ProcessKeyboard (Event.current);

    }
    */
    // Delegate for initializing one view has been created
    void viewCreated(UWKView view)
    {
        Valid = true;

        view.AlphaMask = AlphaMask;

        if (HtmlText != null) {
            view.LoadTextAssetHTML (HtmlText);
            View.LoadFinished += loadFinished;
        }
    }