Hi, i nave a question! I make a racing game but i get stuck on cosmetic updates on a car like bumpers, skirts, spoilers ect. When you enter in race you see all players with parts like you and other players see the parts that they installed in their client on their cars. I use a PlayerPrefs with a carNumber to separate different models from using the same parts. So it look like this…
public int CarNumber;
public int FrontBumperSelected=0;
void Start()
{
FrontBumperSelected=PlayerPrefs.GetInt(CarNumber+ "FrontBumperSelected");
}
I’ll show only for the front bumper, but you get the idea.
The script works excellent but when you enter in multiplayer all cars have same parts. Is it possible to use PlayerPrefs with PUN2 the same way??? And if it is possible how to do that??
Thanks in advance.