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, MonoBehaviour
Properties
Is the touchable collider enabled and active in the scene.
Declaration
public bool ColliderEnabled { get; }
Property Value
Is the touchable collider enabled and active in the scene.
Declaration
public bool ColliderEnabled { get; }
Property Value
Declaration
public Collider TouchableCollider { get; }
Property Value
Type |
Description |
Collider |
|
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
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
Declaration
protected override void OnValidate()
Overrides
Implements
MonoBehaviour