Curvy  8.4.0
CurvySplineToEdgeCollider2D Class Reference
+ Inheritance diagram for CurvySplineToEdgeCollider2D:
+ Collaboration diagram for CurvySplineToEdgeCollider2D:

Detailed Description

Converts a CurvySpline to an EdgeCollider2D

Public Attributes

const string ComponentPath = "Curvy/Converters/Curvy Spline To Edge Collider 2D"
 

Public Member Functions

override void Refresh ()
 Update the EdgeCollider2D.points with the cache points of the CurvySpline More...
 

Protected Member Functions

override void Awake ()
 
override void OnEnable ()
 
- Protected Member Functions inherited from SplineProcessor
void BindEvents ()
 
virtual void OnDisable ()
 
virtual void Start ()
 
void UnbindEvents ()
 

Additional Inherited Members

- Properties inherited from SplineProcessor
CurvySpline Spline [get, set]
 The source spline More...
 

Member Function Documentation

override void Awake ( )
protectedvirtual

Reimplemented from SplineProcessor.

override void OnEnable ( )
protectedvirtual

Reimplemented from SplineProcessor.

override void Refresh ( )
virtual

Update the EdgeCollider2D.points with the cache points of the CurvySpline

Implements SplineProcessor.

Member Data Documentation

const string ComponentPath = "Curvy/Converters/Curvy Spline To Edge Collider 2D"

The documentation for this class was generated from the following file: