public virtual void Update(float Deltatime)
    {
        if (IsComplete())
        {
            if (IsCompeleted == false)
            {
                CallbackWhenCompleted?.Invoke();
            }

            IsCompeleted = true;
            return;
        }

        this._CurrentTime += Deltatime;
    }
Example #2
0
    public override void Update(float deltaTime = 0)
    {
        if (IsComplete())
        {
            if (IsCompeleted == false)
            {
                CallbackWhenCompleted?.Invoke();
            }

            IsCompeleted = true;
            return;
        }

        UpdateInfoTrajetory();
        LookAt(deltaTime);
        base.Update(deltaTime);
    }