- Home /
Define Product Name (and application title) from Editor script
I wanted to ask if anyone knows how to access the Product Name and similar Player Settings in an editor script. I went through the docs as well as through the UnityEditor assembly with reflection but failed to find anything.
As that part impacts the name of an application I assume that it must or at least should be accessable in some way and that I'm just too stupid to find it.
I'd like to know that too.. otherwise localization of the project is troublesome
Answer by Sirithang · Sep 13, 2011 at 02:42 PM
PlayerSettings.productName = "name";
PlayerSettings.companyName = "company name";
Throught this class is also accesible defautFullscreen, defaultRes etc...
For referrence these are (at least as of now) documented values:
Your answer
Follow this Question
Related Questions
Scripting Runtime Version Option not Appearing in Player Settings 0 Answers
Programmatically set Splash Screen 1 Answer
Set Bundle Version Code through editor script 3 Answers
Changing Build Settings by code 1 Answer
Unity editor cant change icon 1 Answer