- Home /
Diffrent TimeScale Different Scene
I have 2 separate scene and one of them is like a mirror of another (do whatever that do ) and I want to one of them faster and finish sooner. what should I do with timeScale? I tried and add timeScale script in one of them but both time change.
Hello there.
Can you please clarify what "one of them faster and finish sooner" means? Please explain what you pretend to get, give some examples, etc...
you can have a gloal value like a multiplier which is multiplied with the time scale ,so you can modify with different scenes .Got me?
Answer by RadonRaph · Oct 10, 2019 at 03:53 PM
Hello @NoobleGames ! You could have a "TimeManager" that change timescale depending on scene like:
void OnSceneLoaded(Scene scene, LoadSceneMode mode)
{
if (scene.name == "mirror1")
Time.timeScale = 0.5f;
else
Time.timeScale = 1f;
}
Hope that help ! Raph :)
Your answer
Follow this Question
Related Questions
How slow motion everything except animation 1 Answer
Trigger Triggers Without Collision 1 Answer
When i hit play on unity, i have 2 UI which one is large and one is small 0 Answers
How can i change the sprite image of button in run time of a 2d game 1 Answer
how to use onmousedown() or onmouseup() unity on local multiplayer/vs mode? 0 Answers