I Need Help Setting Up a Torch Mechanic (Pls Read Desc)
I am working on my own horror game which greatly uses torches. Basically I'm trying to set up a mechanic so when a torch is picked up, it is removed. This by itself isn't very hard, however the problem I am running into is with multiple torches. Because each section or level of the game will have a different amount of torches, I tried setting up a list so it would automatically add a new torch to the list. I've been able to get it to remove a torch, but not the correct one (which I know why and it makes logical sense).
I would upload a picture of the code, but I don't it would be appropriate seeing as how it might change drastically and not even use the same lines. If wanted, I can make a video describing the current system and how I want it to be.
I'm honestly just looking for advice as to what might be the most appropriate way to approach what I am trying to do. I'm very inexperienced with arrays.
Your answer
Follow this Question
Related Questions
How can I change GameObject's texture? 1 Answer
How to find GameObject in script? 1 Answer
My code has some invalid arguments 1 Answer
joystick android 3d , help. 0 Answers