★ TouchArcade needs your help. Click here to support us on Patreon.

Character Selection and World Instantiation - Unity Engine

01-20-2013, 11:33 AM
#1
Character Selection and World Instantiation - Unity Engine

http://youtu.be/ERuxfU8ArqA

This is an in depth tutorial on setting up selectable characters in a menu, saving the selected character data to a mobile phone or PC/Mac (via PlayerPrefs) and then instantiating that selected character into your first game level or environment. Covers PlayerPref settings, deleting save data for testing purposes, and using save data to disable or enable characters in our worlds. The Mousebutton functionality on collider hits will also work on mobile devices. It is also worth noting that this functionality is not true instantiation, but more similar to an object pooling method (which can be more efficient).

Download Unity Source Project: (via Dropbox)

http://dl.dropbox.com/u/16956434/You...tantiation.zip