![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | lalel345 |
this does not work
func _ready():
ProjectSettings.set_setting("display/window/size/fullscreen",true)
![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | lalel345 |
this does not work
func _ready():
ProjectSettings.set_setting("display/window/size/fullscreen",true)
![]() |
Reply From: | Mindscore |
You can use OS.window_fullscreen = true
to turn on Fullscreen.
but then how and when I use ProjectSettings?
lalel345 | 2020-12-17 14:28
AFAIK ProjectSettings aren’t intended to be changed at runtime of the game.
Instead you can use it in a tool script (runs in the editor not the game), for example if you want to automate updating the ProjectSettings.
Mindscore | 2020-12-17 14:37