示例#1
0
        protected override void Tick(float dt)
        {
            base.Tick(dt);
            timer += dt;
            Transform trans = spline.GetTransformAtTime(timer, SplineCoordinateSpace.World, false, false);

            cube.LocalPosition = trans.GetLocation();
        }