Welcome to Unity Gems!
This web site is written and maintained by regular contributors to Unity Answers and the Unity Forums. We hope you will find some interesting topics that are beyond the basic introductions and so learn how to make your games faster, more intelligent and more fun.
Please let us know what you think, by clicking on the Like buttons or leaving a comment. If you see something interesting, please share it with your friends!
You can get updates by following us on twitter and Facebook.
What's New
- A* #1: All Journeys Start with a Single Step
- Linq #1 – It’s Time To Think Linq
- Basics of AI-Character
- Weak Associations – Leak Free Extension Properties
- Saving Data #1 – Remember Me?
- Lateral Thinking – Fixing Missing Scripts
- AI in games
- AI in applications
In French
The things you might need to know if you are new to Unity or software development. These sections are the next step after you have done some introductory tutorials.
In this series of tutorials, we will try and give you a first glimpse at how to implement AI to your games. We will go through some very basic stuff for those of you that are starting and slowly we will get into more advanced details. If you know your way around already you might want to jump right on to the advanced ones as the first ones are really basic. We will try and give you an introduction to the most useful techniques.
Shaders can be hard to get into as they seem so different to traditional programming for the uninitiated. Whydoidoit takes on the role of resident "Shader Noob" and walks through the basics of shader programming. Over the coming weeks this series will build to create a number of useful shaders and hopefully get you on the road to graphics Nirvana...
Noobs Guide To Shaders
Pt #1 (surface|beginner) | Pt #2 (surface|snow)
Pt #3 (surface|snow+) | Pt #4 (surface|toon)
Pt #5 (pixel|bumped) | Pt #6 (pixel|toon)
If you think a finite state machine is just a switch statement or some fancy graphical tool then check out our tutorial. Learn how to make smart pluggable logic and AI for your game and at the same time get real insights into deep technical subjects like reflection, delegates and the advanced inner workings of coroutines.
The first 3 parts show you how to build a framework for FSM and include the full project and a demo game, which is playable online in Part 3. You can see the teaser introduction video here.
Part 1 (intro) | Part 2 (delegates, closures, reflection)
Part 3 (demo game|final framework)
A series of tutorials that dive a little deeper into the workings of Unity and explore how to exploit its features.
More advanced topics to pique your interest and explore the darker reaches of Unity and .NET
17/11/12
Unity Gems regular writer whydoidoit has announced the release of Unity Serializer 2.0
Unity Serializer is a save game asset that can save whole scenes, rooms or just your own classes. It is 100% free and works on all player platforms. The new version contains support for serialization to JSON strings in addition to a highly compressed binary format. There are some other great new features too. Check it out here.