// Use this for initialization public void Start () { // If server, stop. Only clients receives if(MiddleVR.VRClusterMgr.IsServer()) { this.GetComponent<VRReceiveFloat>().enabled = false; return; } m_ShareFloatScript = (VRShareFloat)GetComponent("VRShareFloat"); }
// Use this for initialization public void Start() { // If server, stop. Only clients receives if (MiddleVR.VRClusterMgr.IsServer()) { this.GetComponent <VRReceiveFloat>().enabled = false; return; } m_ShareFloatScript = (VRShareFloat)GetComponent("VRShareFloat"); }