So currently I have a game where two players are instantiated using only one prefab. I’ve figured out local control and all by only enabling the cameras and scripts and such if PhotonView.isMine.
However, I’m wondering if there is a way to differentiate between player 1 and player 2’s Cameras (possibly using tags?) since they both have a “main” Camera attached.
For example, I want something like this:
if (PhotonNetwork.player.ID == 2) {
myCamera.transform.position = anotherPosition;
}
But I’m pretty sure that whatever I attach as “myCamera” or even using “Camera.main.transform.position” applies to all cameras since there is only one prefab and one camera in the prefab, and it is being instantiated over the network as Player 1 and Player 2.