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