Hey Chris,
I've completed my title screen, which is based on the one that came with Adventure Creator, but I'm encountering an issue when trying to add 2D lighting effects, such as point lights or spotlights, to the scene. My goal is to attach a 2D light to the character's flashlight and make it flicker via a script. However, when I try adding the 2D light to the TitleScreen prefab, it doesn't seem to work.
Could you provide some guidance on how I might integrate 2D lighting properly in this case?
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
Is the background art part of the TitleScreen UI prefab? Move it to the scene itself, then you can add the light to the scene. I'm not sure how well 2D lights work with UI objects - at the very least, you'd need to ensure they use 2D Lit shaders so that they'll respond to light data.