Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Character Selection and World Instantiation - Unity Engine

Discussion in 'Community Learning & Teaching' started by JamesArndt, Jan 20, 2013.

  1. JamesArndt

    JamesArndt

    Joined:
    Dec 1, 2009
    Posts:
    2,932
    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/YoutubeProjects/CharacterSelectandInstantiation.zip
     
  2. outtoplay

    outtoplay

    Joined:
    Apr 29, 2009
    Posts:
    741
    No idea what sort behemoth learning initiative Will Unity is undertaking, but your brand of targeted, well-paced learning modules is spot on for a wide range of coders to use as practical jumpstarts in their own projects.

    Great work, James.