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