# Extract the Version Information of a Game with Unity and C#

DevFeed: [Extract the Version Information of a Game with Unity and C#](<https://devfeed.tech/articles/extract-the-version-information-of-a-game-with-unity-and-c-21811.md>)

Original publisher: [Read original article](<https://www.thepolyglotdeveloper.com/blog/2022/02/extract-version-information-game-unity-csharp/>)

Author: Nic Raboy

Published: 2022-02-16T14:00:00Z

Content type: tutorial

Language: en

Sources: [Nic Raboy](<https://devfeed.tech/sources/nic-raboy.md>)

Topics: [Unity](<https://devfeed.tech/topics/unity.md>), [C#](<https://devfeed.tech/topics/csharp.md>), [version](<https://devfeed.tech/topics/version.md>), [software-development](<https://devfeed.tech/topics/software-development.md>), [Tutorial](<https://devfeed.tech/topics/tutorial.md>)

Tags: [build](<https://devfeed.tech/tags/build.md>), [c-sharp](<https://devfeed.tech/tags/c-sharp.md>), [csharp](<https://devfeed.tech/tags/csharp.md>), [game](<https://devfeed.tech/tags/game.md>), [unity](<https://devfeed.tech/tags/unity.md>), [unity3d](<https://devfeed.tech/tags/unity3d.md>), [version](<https://devfeed.tech/tags/version.md>)

## AI overview

Unity exposes the project's version through the application version value. The tutorial recommends displaying it in-game rather than only printing it to the console: create a VersionNumber.cs script, attach it to a game object with a text component, and set that component's text to the application version when the app loads. The excerpt says this works for all build targets and presents the approach as requiring little code.

## Source excerpt

If you play a lot of games, you probably noticed at some point in time that the version number or build number of the game is often presented clearly on the screen. This is often not by accident and i... The post Extract the Version Information of a Game with Unity and C# appeared first on The Polyglot Developer.