DaVikingCode / Citrus-Engine

Modern AS3 Game Engine
http://citrusengine.com/
Other
549 stars 231 forks source link

easy way to activate/deactivate objects #298

Open gsynuh opened 7 years ago

gsynuh commented 7 years ago

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.