Quantcast
Channel: Questions in topic: "error"
Viewing all articles
Browse latest Browse all 7934

The name `isLocalPlayer' does not exist in the current context

$
0
0
hi, can someone please help me and let me know why im getting this error? thanks. Assets/PlayerSetup.cs(11,14): error CS0103: The name `isLocalPlayer' does not exist in the current context using UnityEngine; using UnityEngine.Networking; public class PlayerSetup : MonoBehaviour { [SerializeField] Behaviour[] componentsToDisable; void Start() { if (!isLocalPlayer) { for(int i = 0; i < componentsToDisable.Length; i++) { componentsToDisable[i].enabled = false; } } } }

Viewing all articles
Browse latest Browse all 7934

Trending Articles



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