isMine vs amOwner


When should I use isMine vs amOwner? These are both values I can ask for from a PhotonView. For context my game is sort of like chess with bullets. Each player owns his own chess pieces and any bullets that his own pieces shoot.


  • Tobias

    You may be interested in the Creator of pieces/bullet (who instantiated them). If the creator of a networked object leaves, the control will go to the Master Client but the creator is unchanged.

    The simulation of each piece/bullet must run on some client, which is why control changes and isMine with that.

    amOwner should not change.