Question by
Denny- · Apr 13, 2020 at 03:26 PM ·
uiupdateevent triggering
Layer mask has a weird interaction
I'm making an fps game sort of and I have 2 different objects I want to interact with, oxygen tanks and weapons, I have a UIController script that tells the player he can interact with an object witch works properly
This is a bit of code I have for the interaction with the oxygen tanks but when I pick up a weapon it also does this part of code, even though the weapon does not have this script.
capture.png
(27.4 kB)
Comment
Your answer
Follow this Question
Related Questions
Message Centre Does Not Display 0 Answers
How to use UI button in Update()? 1 Answer
Move the player by holding a UI Button? 1 Answer
How to update ui in unity properly 0 Answers
Update UI from inside a loop 2 Answers