Skip to content

Class Manus::Interaction::CollisionArea

ClassList > Manus > Interaction > CollisionArea

This class keeps track of collisions that are detected between it and other objects. These objects are allowed to be triggers IF they belong to a HandCollider.

Inherits the following classes: MonoBehaviour

Public Attributes

Type Name
Action< CollisionArea > onCollisionChanged
The event to call when the collision amount changed.

Public Properties

Type Name
property int collidingObjects
The amount of objects colliding with this collision area.

Public Functions

Type Name
void EndCollision ()
This is called when a collision ends.
void StartCollision ()
This is called when a collision starts.

Public Attributes Documentation

variable onCollisionChanged

Action<CollisionArea> Manus.Interaction.CollisionArea.onCollisionChanged;

Public Properties Documentation

property collidingObjects

int Manus.Interaction.CollisionArea.collidingObjects;

Public Functions Documentation

function EndCollision

inline void Manus::Interaction::CollisionArea::EndCollision () 

function StartCollision

inline void Manus::Interaction::CollisionArea::StartCollision () 

The documentation for this class was generated from the following file api/unity-plugin/Scripts/Interaction/CollisionArea.cs