Class NearInteractionTouchableVolume
Add a NearInteractionTouchableVolume to your scene and configure a touchable volume
in order to get PointerDown and PointerUp events whenever a PokePointer collides with this volume.
Inheritance
NearInteractionTouchableVolume
Assembly: cs.temp.dll.dll
public class NearInteractionTouchableVolume : BaseNearInteractionTouchable
Properties
Declaration
public bool ColliderEnabled { get; }
Property Value
Declaration
public Collider TouchableCollider { get; }
Property Value
Type |
Description |
Collider |
|
Methods
Declaration
public override float DistanceToTouchable(Vector3 samplePoint, out Vector3 normal)
Parameters
Type |
Name |
Description |
Vector3 |
samplePoint |
|
Vector3 |
normal |
|
Returns
Overrides
Declaration
protected override void OnValidate()
Overrides