//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; } }
//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; } }