Closed setzer22 closed 11 months ago
The code was calling main_camera() by mistake when it should've been using self. This works if you're using main_camera().world_to_screen(), but if you hold a main_camera_mut() then it panics.
main_camera()
self
main_camera().world_to_screen()
main_camera_mut()
Thanks!
The code was calling
main_camera()
by mistake when it should've been usingself
. This works if you're usingmain_camera().world_to_screen()
, but if you hold amain_camera_mut()
then it panics.