public void InitTimeSmoothing(NodeAddedEvent e, TankNode tank)
        {
            TransformTimeSmoothingComponent component = new TransformTimeSmoothingComponent {
                Transform = tank.tankVisualRoot.transform,
                UseCorrectionByFrameLeader = true
            };

            tank.Entity.AddComponent(component);
        }
        public void InitTimeSmoothing(NodeAddedEvent evt, BattleCameraNode battleCamera)
        {
            CameraComponent camera = battleCamera.camera;
            TransformTimeSmoothingComponent component = new TransformTimeSmoothingComponent {
                Transform = battleCamera.cameraRootTransform.Root,
                UseCorrectionByFrameLeader = true
            };

            battleCamera.Entity.AddComponent(component);
        }