|Topic was automatically imported from the old Question2Answer platform.
Sorry, I’m a hardcore beginner in programming, but I keep having this problem across projects that I can’t solve. The problem is having 2 scenes and trying to signal that they enter each other’s areas to cause damage or score. In the context of this, I’ve made a spawner which spawns leaves, the leaves should disappear and give the player a score when they enter the player’s area. The code works when both are in the same scene but in my case, only the spawner itself is in the same scene as the player. I have tried using global variables, and instancing the leaves in the player script but I feel like I’m just not understanding and repeatedly getting it wrong. any help is welcomed. thank you!