ManoMotion Unity SDK 2.0
SDK documentation
Loading...
Searching...
No Matches
ManoMotion.BoundingBoxOverlap2D Class Reference

Component that can be used to check overlaps between the bounding box and 2D colliders.

Inheritance diagram for ManoMotion.BoundingBoxOverlap2D:

Private Member Functions

void LateUpdate ()
 
Vector3 CalculateCenter (BoundingBox bb)
 
Vector3 CalculateSize (BoundingBox bb)
 
void CheckIntersection ()
 

Private Attributes

BoundingBoxUI boundingBoxUI
 
RectTransform canvas
 
RectTransform boundingBoxVisualization
 
UnityEvent< Collider2D[]> OnIntersection
 
UnityEvent OnIntersectionStop
 
Bounds bounds
 
bool isIntersecting = false
 

Member Function Documentation

◆ CalculateCenter()

Vector3 ManoMotion.BoundingBoxOverlap2D.CalculateCenter ( BoundingBox bb)
inlineprivate

◆ CalculateSize()

Vector3 ManoMotion.BoundingBoxOverlap2D.CalculateSize ( BoundingBox bb)
inlineprivate

◆ CheckIntersection()

void ManoMotion.BoundingBoxOverlap2D.CheckIntersection ( )
inlineprivate

◆ LateUpdate()

void ManoMotion.BoundingBoxOverlap2D.LateUpdate ( )
inlineprivate

Member Data Documentation

◆ boundingBoxUI

BoundingBoxUI ManoMotion.BoundingBoxOverlap2D.boundingBoxUI
private

◆ boundingBoxVisualization

RectTransform ManoMotion.BoundingBoxOverlap2D.boundingBoxVisualization
private

◆ bounds

Bounds ManoMotion.BoundingBoxOverlap2D.bounds
private

◆ canvas

RectTransform ManoMotion.BoundingBoxOverlap2D.canvas
private

◆ isIntersecting

bool ManoMotion.BoundingBoxOverlap2D.isIntersecting = false
private

◆ OnIntersection

UnityEvent<Collider2D[]> ManoMotion.BoundingBoxOverlap2D.OnIntersection
private

◆ OnIntersectionStop

UnityEvent ManoMotion.BoundingBoxOverlap2D.OnIntersectionStop
private