i made a capture the point script but im trying to convert it so it would work in multiplayer and im having trouble because nothing is working
Please help syncing color over network
Code (csharp):
- using UnityEngine;
- using System.Collections;
- using UnityEngine.Networking;
- public class CapController : NetworkBehaviour
- {
- public bool blueTeam = false;
- public bool redTeam = false;
- private float redcaptureperc = 0;
- private float bluecaptureperc = 0;
- public GameObject flagRed;
- public GameObject flagBlue;
- public...