Class NearInteractionTouchableUnityUI
Use a Unity UI RectTransform as touchable surface.
Inheritance
NearInteractionTouchableUnityUI
Assembly: cs.temp.dll.dll
public class NearInteractionTouchableUnityUI : NearInteractionTouchableSurface, MonoBehaviour
Constructors
Declaration
public NearInteractionTouchableUnityUI()
Declaration
public NearInteractionTouchableUnityUI()
Properties
Declaration
public override Vector2 Bounds { get; }
Property Value
Overrides
Declaration
public override Vector2 Bounds { get; }
Property Value
Overrides
Declaration
public static IReadOnlyList<NearInteractionTouchableUnityUI> Instances { get; }
Property Value
Declaration
public static IReadOnlyList<NearInteractionTouchableUnityUI> Instances { get; }
Property Value
Declaration
public override Vector3 LocalCenter { get; }
Property Value
Overrides
Declaration
public override Vector3 LocalCenter { get; }
Property Value
Overrides
Declaration
public override Vector3 LocalPressDirection { get; }
Property Value
Overrides
Declaration
public override Vector3 LocalPressDirection { get; }
Property Value
Overrides
Methods
Declaration
public override float DistanceToTouchable(Vector3 samplePoint, out Vector3 normal)
Parameters
Type |
Name |
Description |
Vector3 |
samplePoint |
|
Vector3 |
normal |
|
Returns
Overrides
Declaration
public override float DistanceToTouchable(Vector3 samplePoint, out Vector3 normal)
Parameters
Type |
Name |
Description |
Vector3 |
samplePoint |
|
Vector3 |
normal |
|
Returns
Overrides
Declaration
protected void OnDisable()
Declaration
protected void OnDisable()
Declaration
protected void OnEnable()
Declaration
protected void OnEnable()
Implements
MonoBehaviour