Can I set a game name in one place and use for example variables to automatically set it in the exports information?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By bastilo

For example I set the game name in a script (as a constant or a variable) or set it in the projects settings. After that I would use a variable in the exports dialogues to access the game name. Is that possible?

:bust_in_silhouette: Reply From: TyTYctA

You can try this.

String application/config/name
Name of the project. It is used from both project manager and by the exporters. Overriding this as name.locale allows setting it in multiple languages.

export var Project_name = 'new_name'

func _ready():
	ProjectSettings.set_setting('application/config/name', Project_name)