L
L
LittleBob2021-09-28 21:44:39
Unity
LittleBob, 2021-09-28 21:44:39

How to make certain scene run only once in Unity2D?

In my game there is a starting scene, after it is completed, the main scene and the game begin. So, how to make it so that it is shown only when you first enter the application? If it shows up every time, it will piss people off. Is it possible to somehow implement 1 launch of the scene for the entire life of the game on the device?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
Bogdan Erolskiy, 2021-09-28
@LittleBob

An easy option is to use booleana variable in Player Prefs .
You just set the variable to true the first time you run the scene, and then don't run it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question