PolygonCollider2D
A filled 2D polygon collider.
| Type | Name | Interface Description |
|---|---|---|
| Functions | constructor() |
Examples
constructor()
let obj = new APJS.PolygonCollider2D();
Use Case
@component()
export class NewBehaviourScript extends APJS.BasicScriptComponent {
onStart() {
// TODO: instantiate / use PolygonCollider2D here
}
onUpdate(deltaTime: number) {
}
}