xianjiecan / polygonButton

polygonButton is an extension to cc.button

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

polygonButton

polygonButton is an extension to cc.button

polygonButton

how to use

Enable isSoundEffectButton to start setting sound effects

Enable the isPolygonButton to start editing the polygon region in the view

Click on line segments to add polygon vertices

CTRL+ click on a vertex to remove it Vertex can be dragged

Press resetPolygon to restore the polygon area.

About

polygonButton is an extension to cc.button


Languages

Language:TypeScript 58.7%Language:JavaScript 41.3%