Game Development Reference
In-Depth Information
2. You should then see this:
You need a better name than NewBehaviourScrip t. Highlight the script,
and press Enter or click twice slowly.
3. Rename the script SoundTrigger (or any name you want—it does not
matter). Ignore the warnings, if any.
4. Now you need to edit the script. Select the Sound Trigger script from
the Project View and look at the Inspector View. In the upper left of the
Inspector, click on the Edit button to open MonoDevelop , the default
text editor in Unity.
This is a fully l edged IDE (like we discussed earlier) that is set up for
a type of Javascript (called Unityscript), Boo (a variant of Python) and
native C# (more commonly associated with Microsoft Visual Studio).
(Note: For any web coders out there, Unityscript is not the same as
standard Javascript, but it's similar enough.)
 
Search WWH ::




Custom Search