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*.enabled = false;*
}
}
}
}