on
Creates a Camera2D on top of a specific target.
Return
A Camera2D instance.
Parameters
x
The X coordinate of the target.
y
The Y coordinate of the target
Creates a Camera2D on top of a specific target.
Return
A Camera2D instance.
Parameters
target
The target to use.