private Trfm Generate(Transform transform) { var data = new TimedTrfm().Set(Time.time, Trfm.Convert(transform, mRecordType)); mRecords.Add(data); return(data.Value); }
private void Update() { mSync.Sync(); var type = mIsLocal ? Trfm.Type.Local : Trfm.Type.World; var now = Trfm.Convert(transform, type); mSync.UpdateSend(() => { return(mSync.Prev != now); }, now); }
public void DebugPrintTransform() { DebugLog.Log.Print("{0}{1} " , gameObject.name , Trfm.Convert(transform, Trfm.Type.Local).ToJson()); }