i can use playerprefs to let the player customize his car?

Options
When the player modifies the car and starts playing, the car has the same shape(color, wheels, etc..) as other cars, the same modifications.
how should i use the playerprefs with photon?

Answers

  • Ravindra5337
    Options
    You can store these details into player properties. As soon as player joins the room you can update current player properties.
    ExitGames.Client.Photon.Hashtable tb=new ExitGames.Client.Photon.Hashtable();
    tb["car_color"]="red";
    PhotonNetwork.LocalPlayer.SetCustomProperties(tb);