Table of Contents

Class CSRectangle

Rectangle Shape (2D)

[CurvyShapeInfo("2D/Rectangle", true)]
[RequireComponent(typeof(CurvySpline))]
[AddComponentMenu("Curvy/Shapes/Rectangle")]
public class CSRectangle : CurvyShape2D
Inheritance
Object
Component
Behaviour
MonoBehaviour
DTVersionedMonoBehaviour
CSRectangle
Inherited Members

Properties

Height

public float Height { get; set; }

Property Value

float

Width

public float Width { get; set; }

Property Value

float

Methods

ApplyShape()

Override this to add custom code

protected override void ApplyShape()