Getting the hiders to work

I changed the code to be like the project changes at gitlab and I created hiders and a door as well as a game object to store the LevelScripting script; however, I can’t get the hiders to disappear nor the enemy to appear with the unit moving to z == 5 or when the door opens. Is there a step I am missing?

What exactly is your code doing? Is the LevelScripting code running? Are you checking for the unit position correctly? Are you getting to the code that is meant to hide the hiders but they’re still visible?
Add some Debug.Log to figure out exactly what part isn’t working.

After using the Debug.Log like you suggested, I was able to find a few places I had misnamed things or used the wrong variable. Thanks for the help! Sometimes it’s small stuff like that which ends up being the problem.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms