DaVikingCode / Citrus-Engine

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

Camera onPostUpdate / enabled #317

Open gsynuh opened 7 years ago

gsynuh commented 7 years ago

instead of doing if(!enabled) return; in the camera update, make a getter/setter for enabled that will add/remove the camera's update function to the _ce.onPostUpdate signal