void Start() { string filteredTitle = PublisherUtils.GetFilteredGameTitle("A title with spaces"); //returns "A title with spaces" filteredTitle = PublisherUtils.GetFilteredGameTitle(" "); //returns "Untitled" (the value of PublisherUtils.DefaultGameName) }
void FormatGameTitle() { gameTitle = PublisherUtils.GetFilteredGameTitle(gameTitle); }