Inheritance
System.Object
UIWidgetsPanel
public class UIWidgetsPanel : UnityEngine.UI.RawImage, IPointerDownHandler, IPointerUpHandler, IDragHandler, IPointerEnterHandler, IPointerExitHandler, WindowHost
Fields
Declaration
protected int antiAliasingOverride
Field Value
Type |
Description |
System.Int32 |
|
Declaration
protected float devicePixelRatioOverride
Field Value
Type |
Description |
System.Single |
|
Properties
Declaration
public int antiAliasing { get; }
Property Value
Type |
Description |
System.Int32 |
|
Declaration
public float devicePixelRatio { get; }
Property Value
Type |
Description |
System.Single |
|
Declaration
public WindowPadding viewInsets { get; }
Property Value
Declaration
public WindowPadding viewPadding { get; }
Property Value
Declaration
public Window window { get; }
Property Value
Implements
Methods
Declaration
protected virtual Widget createWidget()
Returns
Declaration
public Vector2 getPointPosition(PointerEventData eventData)
Parameters
Type |
Name |
Description |
PointerEventData |
eventData |
|
Returns
Declaration
public Vector2 getPointPosition(Vector2 position)
Parameters
Type |
Name |
Description |
Vector2 |
position |
|
Returns
Declaration
protected override void OnDisable()
Declaration
public void OnDrag(PointerEventData eventData)
Parameters
Type |
Name |
Description |
PointerEventData |
eventData |
|
Declaration
protected override void OnEnable()
Declaration
public void OnPointerDown(PointerEventData eventData)
Parameters
Type |
Name |
Description |
PointerEventData |
eventData |
|
Declaration
public void OnPointerEnter(PointerEventData eventData)
Parameters
Type |
Name |
Description |
PointerEventData |
eventData |
|
Declaration
public void OnPointerExit(PointerEventData eventData)
Parameters
Type |
Name |
Description |
PointerEventData |
eventData |
|
Declaration
public void OnPointerUp(PointerEventData eventData)
Parameters
Type |
Name |
Description |
PointerEventData |
eventData |
|
Declaration
public void recreateWidget()
Declaration
protected virtual void Update()