Class GUIElement
Assembly: UnityEngine.dll
Syntax
[RequireComponent(typeof(Transform))]
public class GUIElement : Behaviour
Methods
|
Improve this Doc
View Source
GetScreenRect()
Declaration
[ExcludeFromDocs]
public Rect GetScreenRect()
Returns
|
Improve this Doc
View Source
GetScreenRect(Camera)
Declaration
public Rect GetScreenRect([DefaultValue("null")] Camera camera)
Parameters
Type |
Name |
Description |
Camera |
camera |
|
Returns
|
Improve this Doc
View Source
HitTest(Vector3)
Declaration
[ExcludeFromDocs]
public bool HitTest(Vector3 screenPosition)
Parameters
Type |
Name |
Description |
Vector3 |
screenPosition |
|
Returns
|
Improve this Doc
View Source
HitTest(Vector3, Camera)
Declaration
public bool HitTest(Vector3 screenPosition, [DefaultValue("null")] Camera camera)
Parameters
Returns
Extension Methods