RaftTransformSync: remove DebugLog

This commit is contained in:
JohnCorby 2022-03-11 09:43:45 -08:00
parent 509d1429d4
commit 5a4c6227fe

View File

@ -62,9 +62,6 @@ public class RaftTransformSync : UnsectoredRigidbodySync
private void OnUnsuspend(OWRigidbody suspendedBody) => netIdentity.UpdateAuthQueue(AuthQueueAction.Add);
private void OnSuspend(OWRigidbody suspendedBody) => netIdentity.UpdateAuthQueue(AuthQueueAction.Remove);
public override void OnStartAuthority() => DebugLog.DebugWrite($"{this} - authority = true");
public override void OnStopAuthority() => DebugLog.DebugWrite($"{this} - authority = false");
/// <summary>
/// replacement for base method
/// using SetPos/Rot instead of Move
@ -83,4 +80,4 @@ public class RaftTransformSync : UnsectoredRigidbodySync
AttachedRigidbody.SetVelocity(targetVelocity);
AttachedRigidbody.SetAngularVelocity(targetAngularVelocity);
}
}
}