Game Development Reference
In-Depth Information
Example
Play a sound exactly 10 seconds later in the game:
var time = AudioSettings.dspTime;
var clip : AudioClip;
clip = audio.Clip;
audio.PlayScheduled(time + 10.0);
There is a lot more material on various ways to trigger audio in Unity, but as this is not a programming or
scripting course we can't get into any more specii cs here. This is as far as we're going to go for now.
Getting (More) Help
Now that we've just barely covered the basics of audio implementation
in Unity, it does leave us with the question of “Where do I learn more
about Unity?”
If you should decide to learn more about how Unity works in the broader
sense or want to start making a game, there are a plethora, a smorgasbord,
a dizzying array, a boatload—superlatives fail me—of documentations,
tutorials, and videos available. There are four main sources of Unity
knowledge referenced on their own website, under the Learn link:
Tutorials
A new section on the site is the increasingly comprehensive Learn
section, with tutorial videos and demo projects to download on subjects
like Audio, Editor, Scripting and more.
Documentation
This area consists of the Manual , Component Reference Manual and
Scripting Reference Manual . These are all useful, but I i nd I refer to the
Scripting Reference more often, as it has code examples I think are very
helpful. These can also be accessed from the Help menu.
Community
This area consists of the Forum, the Unity Answers section, and
Feedback section. Of these, the most useful for new developers is
the Answers section, where coders from newbies to veterans pose
 
Search WWH ::




Custom Search