identify gameobjects on the scene

Options
How to identify two differente gameobjects on the scenne? for example if i have a prefab "Player" and more than 1 instance of this prefab on the scene, I have enemies that chase these instances of players but so far, i can't distinguish each player, for example the enemy always chase the owner in each client, doesn't matter which player has entered on ontriggerenter of the enemy collider.

Comments

  • stanchion
    Options
    Each entity has a unique entity ID you can distinguish between them with.