private void OnNext() { CircleVRNetwork.SendBroadcast(CircleVRPacketType.Next, CircleVRNetwork.reliableChannel); if (Event != null) { Event.OnNext(); } Debug.Log("[INFO] Content Server Send Next"); }
private void OnStop() { state = CircleVRServerState.Ready; elapseTime = 0.0f; CircleVRNetwork.SendBroadcast(CircleVRPacketType.Stop, CircleVRNetwork.reliableChannel); if (Event != null) { Event.OnStop(); } Debug.Log("[INFO] Content Server Send Stop"); }
private void OnPause() { if (state == CircleVRServerState.Pause) { return; } state = CircleVRServerState.Pause; CircleVRNetwork.SendBroadcast(CircleVRPacketType.Pause, CircleVRNetwork.reliableChannel); if (Event != null) { Event.OnPause(); } Debug.Log("[INFO] Content Server Send Pause"); }