WebBrowserUtils Class
Definition
Provides Utils to be used by the web browser
[UnityEngine.Scripting.Preserve]
public static class WebBrowserUtils
- Inheritance
- System.ObjectWebBrowserUtils
- Attributes
- UnityEngine.Scripting.PreserveAttribute
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 UnityEngine.UI.Graphic from a top-left origin point To calculate the pixel position, do UnityEngine.Vector2.x * [Desired height] and UnityEngine.Vector2.y * [Desired Width] |