Exemplo n.º 1
0
    private void OnTimelineValueChanged(float value)
    {
        float splineTime = _frames.GetSplineTimeAtNormalizedTime(value);

        EventBus.Instance.OnCurrentWaypointChange.Invoke(splineBuilder.GetPositionAtTime(splineTime));
    }