Hi all,
I am having trouble with my box collider for my 2D game.
The goal is that the player can examine an inventory item and when they click on it, the action list spawns a prefab item into the scene. This item will consist of a black semi-transparent screen that has a box collider attached to it to block out all the other hot spots in the scene.
The fully spawned inventory object will be this back screen, the sprite for the item, and then any additional hotspots on the item so players can interact with them.
My problem is that when I spawn my 2D screen onto my scene, it doesn't block any of the other hotpsots. I have a box Collider 2D setting on it and I have it spawing on the default setting. Not sure what I am missing!
The screen prefab blocks everything fine when I put it in the scene manually, it only seems to not work when spawned through an action list.
Any help is appreciated! Thanks.
It looks like you're new here. If you want to get involved, click one of these buttons!