Citrus-Engine icon indicating copy to clipboard operation
Citrus-Engine copied to clipboard

easy way to activate/deactivate objects

Open gsynuh opened this issue 8 years ago • 0 comments

Something like

public function SetActive(value:Boolean):void { visible = value; body.SetActive(value); }

which should work anytime with the recent change to contact listeners with b2d, yet might cause problems with the pooling system.

gsynuh avatar Nov 20 '16 23:11 gsynuh