When new scene loaded, var?

If there are 2 scenes,

and then if load another scene,

private var bool : boolean;
var bool2 : boolean;

is changed to default (false) value?

but

static var bool3 : boolean;

does not changed and remains?

If I understand you correctly ( the question seems to be obfuscated );

It is because you declare it as a static variable, which means it will remain/live throughout the application lifecycle. Meaning it will be same -and one variable- and always available as long as your application is running.

yes maybe you understand correctly.

Thanks.

Then all other boolean variable which is not [static] become reset to default value (false)? and all other int and float , too?

Yes that’s correct.

Nothing resets. Non-Static variables are tied to their instance. So there’s a new instance it will have its default values, where statics are not tied to instances. So if you reload a level with something using your script, all your old instances of your script will be destroyed by default, and remade, but that does not affect statics.