Skip to content
This repository was archived by the owner on Feb 18, 2025. It is now read-only.

How to Tween from the middle? #9

Description

@KazukiKuriyama

Is there a way to start from a time in the middle of defining Tween?
For example, I want to start from the 0.5 second point in the code below (currentValue==0.5f) and transition to 1 in the remaining 0.5 seconds.

        float x = 0;
        await Tween.To(
            () => 0,
            currentValue1 => x = currentValue1,
            1,
            1
        );

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions