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

TimeScale doesnt effect to Observable.Timer(Scheduler.MainThread) #520

@wewrere41

Description

@wewrere41
void Test()
{
Time.timeScale = 0;
Debug.Log(Time.time);

Observable.Timer(TimeSpan.FromSeconds(5), Scheduler.MainThread)
      Subscribe(_ =>
                    { 
                        Debug.Log(Time.time);
                    });

}

Timer doesn't stop although TimeScale=0. And ofcourse two Time.time log return same result.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions