To display the build information, you can use the build in display script or derive from BuildInformationDisplay to make your own. There are two provided display scripts, a default unity text version & a text mesh pro version. They both do the exact same thing so youโre not missing out. These can both be found in the add component menu under Carter Games/Build Versions/โฆ
The inspector for both is the exact same, with a filed for the format to display & a text field to display to:
The display format contains options to display the following data with the following tags. All tags should be encapsulated with {}
Data | Tag |
---|---|
Build Information Build Type | {bv_type} |
Build Information Build Number | {bv_number} |
Build Information Build Date | {bv_date} |
Build Information Build Date (Day) | {bv_day} |
Build Information Build Date (Month) | {bv_month} |
Build Information Build Date (Year) | {bv_year} |
Semantic Version Number (Player settings) | {bv_semantic |
Semantic Version Number (Player settings) Major Number (x.?.?) | {bv_semantic_major} |
Semantic Version Number (Player settings) Minor Number (?.x.?) | {bv_semantic_minor} |
Semantic Version Number (Player settings) Patch Number (?.?.x) | {bv_semantic_patch} |
New Line | {newline} |