File Management and XML in Unity 3D using C#
Posted by FIZIX Richard on Fri 31st August 2012 7:22pm
In this tutorial we will be looking at general file management and XML file handling in Unity 3D using the C# programming language. We will be killing several birds with one stone today; covering the creation and reading of XML files, creating and reading directories, checking that files exist and the reading of XML files. This is a multi-page tutorial and is quite long as we will be building a st...
Creating a game state manager in Unity 3D
Posted by FIZIX Richard on Fri 17th August 2012 1:43pm
A game state manager is a persistent class, meaning that it is created and it's state will persist throughout the game session, even if you switch scenes. The state manager will...
Unity Scripting Lesson 3: Beginning C# Scripting
Posted by FIZIX Richard on Fri 6th July 2012 1:01pm
In this tutorial for Unity 3D we will be looking at the C# Scripting language, which is generally considered the option for serious or professional developers. For larger or more complex projects C# delivers many benefits such as having a stricter approach which reduces the potential for problems down the line and the performance gains you get from using C#.
For example, while C# is a more inv...
Unity Scripting: Instantiation
Posted by FIZIX Richard on Wed 4th July 2012 1:14am
In this tutorial we will be looking at an important concept of games development; instantiation. The process of instantiation or instancing as it is also known, is where you load or create objects at runtime through scripts.
Normally, when you want an object to appear in a scene or level you place it from the library into the scene and position it in 3d space. This is useful for static objects ...
Unity Scripting Lesson 2
Posted by FIZIX Richard on Tue 3rd July 2012 11:21pm
It is important to walk before we try to run. In our previous tutorial we looked at the basics of scripting, namely how to create a script and perform a few simple operations in 3D space.
Now that you know how to create a script, it's time to understand the 4 most basic principals of scripting, that is:
If you have programmed or...