# unity3d

Published articles for unity3d.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## 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>), [Tutorial](<https://devfeed.tech/topics/tutorial.md>), [Development](<https://devfeed.tech/topics/development.md>)

Tags: [c-sharp](<https://devfeed.tech/tags/c-sharp.md>), [code](<https://devfeed.tech/tags/code.md>), [csharp](<https://devfeed.tech/tags/csharp.md>), [development](<https://devfeed.tech/tags/development.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>), [unity](<https://devfeed.tech/tags/unity.md>), [unity3d](<https://devfeed.tech/tags/unity3d.md>)

### AI overview

This tutorial explains how to retrieve a Unity game's version or build number from project settings using C#, then display it on screen through a game object component.

### 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.

## Interacting with Sprite and UI Buttons in a Unity Game

DevFeed: [Interacting with Sprite and UI Buttons in a Unity Game](<https://devfeed.tech/articles/interacting-with-sprite-and-ui-buttons-in-a-unity-game-21806.md>)

Original publisher: [Read original article](<https://www.thepolyglotdeveloper.com/blog/2021/12/interacting-sprite-ui-buttons-unity-game/>)

Author: Nic Raboy

Published: 2022-01-01T00:57:42Z

Content type: tutorial

Language: en

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

Topics: [Tutorial](<https://devfeed.tech/topics/tutorial.md>), [Unity](<https://devfeed.tech/topics/unity.md>), [Game Development](<https://devfeed.tech/topics/game-development.md>), [ui](<https://devfeed.tech/topics/ui.md>), [C#](<https://devfeed.tech/topics/csharp.md>), [Code](<https://devfeed.tech/topics/code.md>)

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

### AI overview

This tutorial explains how to create interactive buttons in a Unity game using both 2D sprites and Unity UI buttons. It covers adding a sprite, attaching a C# script and Box Collider 2D, and creating a legacy UI button within a canvas.

### Source excerpt

When you're developing a game, whether it be 2D or 3D, you're going to need to add menus with buttons at some point. These buttons could be as simple as a means to exit the game, or something more com... The post Interacting with Sprite and UI Buttons in a Unity Game appeared first on The Polyglot Developer.

## Implement the Konami Keystroke Cheat Code in a Unity Game

DevFeed: [Implement the Konami Keystroke Cheat Code in a Unity Game](<https://devfeed.tech/articles/implement-the-konami-keystroke-cheat-code-in-a-unity-game-21804.md>)

Original publisher: [Read original article](<https://www.thepolyglotdeveloper.com/blog/2021/09/implement-konami-keystroke-cheat-code-unity-game/>)

Author: Nic Raboy

Published: 2021-09-08T13: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>), [Tutorial](<https://devfeed.tech/topics/tutorial.md>), [C#](<https://devfeed.tech/topics/csharp.md>), [Code](<https://devfeed.tech/topics/code.md>)

Tags: [c-sharp](<https://devfeed.tech/tags/c-sharp.md>), [code](<https://devfeed.tech/tags/code.md>), [csharp](<https://devfeed.tech/tags/csharp.md>), [developer](<https://devfeed.tech/tags/developer.md>), [games](<https://devfeed.tech/tags/games.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [implement](<https://devfeed.tech/tags/implement.md>), [loops](<https://devfeed.tech/tags/loops.md>), [script](<https://devfeed.tech/tags/script.md>), [unity](<https://devfeed.tech/tags/unity.md>), [unity3d](<https://devfeed.tech/tags/unity3d.md>)

### AI overview

A tutorial on implementing the Konami keystroke cheat code in a Unity game with C#. It explains how to capture keyboard input, record keystroke history, detect the sequence, and compare Unity's OnGUI method with a loop-based approach.

### Source excerpt

Remember all the cheat codes you could use in old-school games back in the day? Remember the Konami cheat code? Ever wonder how you could add cheat codes to your own games? Adding cheat codes to your ... The post Implement the Konami Keystroke Cheat Code in a Unity Game appeared first on The Polyglot Developer.

## Building a Space Shooter Game that Syncs with Unity and MongoDB Realm

DevFeed: [Building a Space Shooter Game that Syncs with Unity and MongoDB Realm](<https://devfeed.tech/articles/building-a-space-shooter-game-that-syncs-with-unity-and-mongodb-realm-21801.md>)

Original publisher: [Read original article](<https://www.thepolyglotdeveloper.com/blog/2021/08/building-space-shooter-game-syncs-unity-mongodb-realm/>)

Author: Nic Raboy

Published: 2021-08-25T13: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>), [MongoDB](<https://devfeed.tech/topics/mongodb.md>), [data](<https://devfeed.tech/topics/data.md>), [SDK](<https://devfeed.tech/topics/sdk.md>), [App](<https://devfeed.tech/topics/app.md>)

Tags: [building](<https://devfeed.tech/tags/building.md>), [cloud](<https://devfeed.tech/tags/cloud.md>), [data](<https://devfeed.tech/tags/data.md>), [gaming](<https://devfeed.tech/tags/gaming.md>), [getting-started](<https://devfeed.tech/tags/getting-started.md>), [mongodb](<https://devfeed.tech/tags/mongodb.md>), [nosql](<https://devfeed.tech/tags/nosql.md>), [realm](<https://devfeed.tech/tags/realm.md>), [space](<https://devfeed.tech/tags/space.md>), [syncs](<https://devfeed.tech/tags/syncs.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>), [unity](<https://devfeed.tech/tags/unity.md>), [unity3d](<https://devfeed.tech/tags/unity3d.md>)

### AI overview

This tutorial builds a space shooter game in Unity that stores and synchronizes game data, including scores and enabled blasters, using the MongoDB Realm SDK and MongoDB Atlas.

### Source excerpt

When developing a game, in most circumstances you're going to need to store some kind of data. It could be the score, it could be player inventory, it could be where they are located on a map. The pos... The post Building a Space Shooter Game that Syncs with Unity and MongoDB Realm appeared first on MongoDB.