Class BaseNearInteractionTouchable
Base class for all NearInteractionTouchables.
Inheritance
BaseNearInteractionTouchable
Assembly: cs.temp.dll.dll
public abstract class BaseNearInteractionTouchable : MonoBehaviour, MonoBehaviour
Fields
Declaration
protected float debounceThreshold
Field Value
Declaration
protected float debounceThreshold
Field Value
Declaration
protected TouchableEventType eventsToReceive
Field Value
Declaration
protected TouchableEventType eventsToReceive
Field Value
Properties
Distance in front of the surface at which you will receive a touch completed event.
Declaration
public float DebounceThreshold { get; set; }
Property Value
Distance in front of the surface at which you will receive a touch completed event.
Declaration
public float DebounceThreshold { get; set; }
Property Value
The type of event to receive.
Declaration
public TouchableEventType EventsToReceive { get; set; }
Property Value
The type of event to receive.
Declaration
public TouchableEventType EventsToReceive { get; set; }
Property Value
Methods
Declaration
public abstract float DistanceToTouchable(Vector3 samplePoint, out Vector3 normal)
Parameters
Type |
Name |
Description |
Vector3 |
samplePoint |
|
Vector3 |
normal |
|
Returns
Declaration
public abstract float DistanceToTouchable(Vector3 samplePoint, out Vector3 normal)
Parameters
Type |
Name |
Description |
Vector3 |
samplePoint |
|
Vector3 |
normal |
|
Returns
Declaration
protected virtual void OnValidate()
Declaration
protected virtual void OnValidate()
Implements
MonoBehaviour