Пример #1
0
 public EntityInterpolator(TransformComponent transformComponent)
 {
     _transformComponent = transformComponent;
 }
Пример #2
0
 private void SyncToNearby(NetConnection sendTo, TransformComponent transformComponent, ulong userID)
 {
     var packet = new NotifyMovementPacket(transformComponent.Velocity, transformComponent.LocalPosition, userID);
     ClientNetworkManager.Instance.SendPacket(packet, sendTo);
 }