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

How to make state of Players different bettween each clients

$
0
0
I have a Player prefab which has a StateManager script controll different states of Player (and current weapon too). These variable are change when use press 1/2/3/4/5, and current weapon of their player change too :
Code (CSharp):
  1. public bool normal, melee, rifle, pistol, grenade;
I want to know how to make these variable different in each client when players press the keys.

Viewing all articles
Browse latest Browse all 16796

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>