WebBrowserUtils Class

Definition

Provides Utils to be used by the web browser

[UnityEngine.Scripting.Preserve]
public static class WebBrowserUtils
Inheritance
WebBrowserUtils
Attributes

Methods

GetAdditionFilesDirectory()

Gets the main directory where logs and cache may be stored

GetBrowserEnginePath(Engine)

Gets the folder that the UWB process application lives in

GetBrowserEngineProcessPath(Engine)

Get a direct path to the UWB process application

GetScreenPointToLocalPositionDeltaOnImage(Graphic, Vector2, Vector2)

Gets the local position delta (0 -> 1) from a screen position on a Graphic from a top-left origin point

To calculate the pixel position, do x * [Desired height] and y * [Desired Width]

Applies to