using System.Collections; using System.Collections.Generic; using System.IO; using UnityEngine; using VelNet; public class VelNetSyncHand : NetworkSerializedObject { public OVRSkeleton hand; public OVRCustomSkeleton toSync; public Quaternion[] targets; public float smoothness = .1f; protected override void ReceiveState(byte[] message) { using MemoryStream mem = new MemoryStream(message); using BinaryReader reader = new BinaryReader(mem); for (int i =0; i