Quantcast
Channel: Multiplayer
Viewing all articles
Browse latest Browse all 16796

Syncing Color Materials? [PUN]

$
0
0
Hi guys, always working with my multiplayer game.

I created with the 4.6 UI a system that let you choose the armor color that you like. The fact is now that i dont know how to sync every player color over the network.

I was tryng to work with RPC, by creating a function, in my NetworkCharacter script that is "followed" by PhotonView component on the player prefab :


Code (CSharp):
  1. using UnityEngine;
  2. using System.Collections;
  3.  
  4. //we use photon.mono because there is a built-in photonview...
Syncing Color Materials? [PUN]

Viewing all articles
Browse latest Browse all 16796

Trending Articles