Vixen
02b45cc4
csharp
public sealed class ProjectInfoSettings

What a project is called, by whom, and at what version.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

The first settings asset the editor ships, and the reason it is one rather than a dialog is doc 11's claim that "adding a project setting is declaring a type". It carries [DataContract] so ProjectSettingsStore can read and write it with the same YAML binder that reads a .meta file, and [Inspector] so the settings window draws it with the same rows that draw a material. Neither attribute knows about the other and this type does nothing except hold four strings.

⚠ Every member here has a reader, which is the bar a shipped setting has to clear. ProductName is what the title bar says when it is set — the directory's name is a fallback rather than the answer — and it is what About reports. A settings page of fields nothing reads is a page that teaches people the settings do not work.

Fields and properties (3)

  • public string ProductName

    What the game is called, which need not be the folder's name.

  • public string Company

    Who is making it.

  • public string Version

    Which version this is.

Used by (4)

  • Describes_Vixen_Editor_App_ProjectInfoSettingsVixen.Editor.App
  • EditorApplicationVixen.Editor.App
  • SettingsWindowTestsVixen.Editor.App.Tests
  • TypeRegistrationVixen.Editor.App