Component.FixedToCamera#FixedToCamera

new FixedToCamera()

The FixedToCamera component enables a Game Object to be rendered relative to the game camera coordinates, regardless
of where in the world the camera is. This is used for things like sticking game UI to the camera that scrolls as it moves around the world.

Source code: gameobjects/components/FixedToCamera.js (Line 13)
doc_phaser
2017-02-14 10:42:45
Comments
Leave a Comment

Please login to continue.