I am trying to develop a unity pun2 multiplayer, and I have a problem with applying damage when a projectile explodes in range of the player. So my question is… All network stuff apart.
How can I trigger a function inside my player GameObject when the explode function inside my throwable projectile GameObject is triggered? These are separate gameobjects.
I already thought of that. But I set a timer for the throwable projectile for explosion. I only want this script to be called when the explosion happens after the fixed time. That’s what confuses me.