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

LayerMask not changing, components not disabling... probably simple

$
0
0
Hey, so my problem is I have a script called PlayerSetup, It is for my network, (I'm using Unet) and is supposed to make it so I only control my local player, and that every other player has a mask (or layer, idk what its called) on it called RemotePlayer Sadly, my script isn't really doing it's job at all! ALSO, it is supposed to disable the non local player's audio listener, but its not!

Heres the script

Code (CSharp):
  1.     using UnityEngine;
  2.     using UnityEngine.Networking;...
LayerMask not changing, components not disabling... probably simple

Viewing all articles
Browse latest Browse all 16796

Trending Articles



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