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

The event to call when the collision amount changed.

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


Public Properties Documentation

property collidingObjects

The amount of objects colliding with this collision area.

int Manus.Interaction.CollisionArea.collidingObjects;


Public Functions Documentation

function EndCollision

This is called when a collision ends.

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


function StartCollision

This is called when a collision starts.

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



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