Class SpriteShapeController
Inheritance
System.Object
SpriteShapeController
Syntax
public class SpriteShapeController : MonoBehaviour
Properties
autoUpdateCollider
Declaration
public bool autoUpdateCollider { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
colliderCornerType
Declaration
public ColliderCornerType colliderCornerType { get; set; }
Property Value
colliderDetail
Declaration
public int colliderDetail { get; set; }
Property Value
| Type |
Description |
| System.Int32 |
|
colliderOffset
Declaration
public float colliderOffset { get; set; }
Property Value
| Type |
Description |
| System.Single |
|
edgeCollider
Declaration
public EdgeCollider2D edgeCollider { get; }
Property Value
| Type |
Description |
| EdgeCollider2D |
|
polygonCollider
Declaration
public PolygonCollider2D polygonCollider { get; }
Property Value
| Type |
Description |
| PolygonCollider2D |
|
spline
Declaration
public Spline spline { get; }
Property Value
splineDetail
Declaration
public int splineDetail { get; set; }
Property Value
| Type |
Description |
| System.Int32 |
|
spriteShape
Declaration
public SpriteShape spriteShape { get; set; }
Property Value
spriteShapeRenderer
Declaration
public SpriteShapeRenderer spriteShapeRenderer { get; }
Property Value
| Type |
Description |
| SpriteShapeRenderer |
|
Methods
BakeCollider()
Declaration
public void BakeCollider()
BakeMesh()
Declaration