Table of Contents

Class CurvySplineToEdgeCollider2D

Converts a CurvySpline to an UnityEngine.EdgeCollider2D

[AddComponentMenu("Curvy/Converters/Curvy Spline To Edge Collider 2D")]
[RequireComponent(typeof(EdgeCollider2D))]
public class CurvySplineToEdgeCollider2D : SplineProcessor
Inheritance
Object
Component
Behaviour
MonoBehaviour
DTVersionedMonoBehaviour
CurvySplineToEdgeCollider2D
Inherited Members

Fields

ComponentPath

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

Field Value

string

Methods

Refresh()

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

public override void Refresh()