Unity supports two main scripting languages, namely, C# and JavaScript. Developers should select one of these two from the outset and apply it consistently throughout their project; this writes all scripts in the selected language. Failure to do so (by mixing script files in different languages) typically causes unnecessary headache and confusion. However, once you've settled on a language, such as C#, it usually won't offer everything you need it to do to create games. C#, on its own, can neither load and parse XML files to support save-game data, nor can it create window objects and GUI widgets to perform advanced search and query behaviors on complex data sets and collections. To achieve these additional behaviors and lots more, we must turn to external libraries. Some libraries can be purchased directly from the Unity's Asset Store, and these are typically used for a specific and dedicated purpose. However, Unity ships with the Mono Framework, which is a...
Mastering Unity Scripting
By :
Mastering Unity Scripting
By:
Overview of this book
Table of Contents (17 chapters)
Mastering Unity Scripting
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
Unity C# Refresher
Debugging
Singletons, Statics, GameObjects, and the World
Event-driven Programming
Cameras, Rendering, and Scenes
Working with Mono
Artificial Intelligence
Customizing the Unity Editor
Working with Textures, Models, and 2D
Source Control and Other Tips
Index
Customer Reviews