示例#1
0
    public void rpc_receiveTarget(int target, PhotonMessageInfo info)
    {
        //player saves his own target
        targetPlayer = (Player_ID)target;

        //and sets the right face to the target image in the HUD
        targetImage.setImage("Players/player_" + target.ToString());
    }