Oreilly - Getting Started with Unity 4 Scripting
by | Released June 2013 | ISBN: 9781849696128
Harness the power of scripting in Unity 4 to build great gamesAbout This VideoA great resource for anyone new to Unity 4 scriptingClear step-by-step explanations for each line of codeCreate custom components that interact with Unity's game engine componentsEnhance your game with an easy-to-use and extendable input system that works on leading game platformsCreate a cool custom GUI for your gameAccompanied with finished assets, scripts, and tips for programming in UnityIn DetailCreate fantastic projects in Unity without any fuss; learn how to set up a basic project and build on it to utilize the Unity game engine's full potential, using custom scripts and graphical feedback (Gizmos) to create extraordinary games easily.Getting Started with Unity 4 Scripting will explain everything that you need to know; from the basics of the Unity game engine, through to how the component system and Input Manager works. Learn how to create a custom GUI and set up basic AI pathfinding systems, and progressively cover more advanced topics such as inter-communication between the different languages that the Unity game engine supports.With this video course, you will learn about render loops and basic entry point functions that the Unity engine exposes, followed by the component system, Input system, Gizmos, character controllers, and GUI Scripting. This video course culminates by teaching you about the AI system and the script compilation orders that the Unity game engine provides, as well as all the basic components that comprise a good game.Learn everything you need to know about how scripting in Unity works; everything from exposing variables in scripts, entry point functions, render loops, and colliders, including how to make them work, to an in-depth introduction of the component system and its intricacies. Discover how to add, remove, and create custom components, as well as about the anatomy of the Input, GUI, and Gizmos system, how they work, and how they behave in tandem.By the end of this course, you'll be knowledgeable enough to create any basic game by harnessing the power of Unity. Show and hide more
- Chapter 1 : Render Loops and Basic Entry Point Functions
- Expose Variables in the Inspector from Scripts 00:02:57
- Entry Points when Scripting in Unity 00:03:11
- Show Different Usages of the Render Loops 00:03:06
- Triggers and Collision Callbacks 00:03:12
- Special Triggers 00:03:10
- Chapter 2 : Components – Adding, Removing, Accessing
- Components and Their Use 00:03:26
- Accessing a Custom Component in the Same Game Object 00:03:02
- Accessing a Component from the Engine Using Scripts 00:03:10
- Accesing Components in Other Game Objects 00:03:05
- Searching Components in Game Objects that Have Children 00:03:06
- Chapter 3 : Input in Unity
- Input Manager Overview 00:02:56
- Connecting the Input Manager with Scripting 00:03:12
- Axis, Keys and Their Differences 00:03:08
- Dissecting Specific Key Presses – Up / Down / Stay 00:03:05
- Mouse Input 00:03:23
- Chpater 4 : Gizmos and Their Usefulness in Your Game
- Gizmos Functions Overview 00:03:13
- Gizmos and Scripts 00:03:04
- Using Gizmos for Visualizing Data 00:03:04
- Uses of Raycasting and Gizmos 00:03:11
- Making Gizmos Work with Other Components 00:03:07
- Chapter 5 : Character Controller
- Anatomy of a Character Controller 00:03:09
- Modifying a Character Controller to Work with Custom Scripts 00:03:09
- Making the Character Controller Work with the Input System 00:03:08
- Creating a First-person Character Controller 00:03:14
- Adding Movement Animations to a Character Controller 00:03:24
- Chapter 6 : GUI Scripting
- GUI Overview and Types of Controls 00:03:01
- Manual GUI Placing 00:03:33
- GUI Layouts 00:03:11
- Mixing the GUI System with the Input System 00:03:10
- Skinning Your Created GUI 00:03:08
- Chapter 7 : Pathfinding and AI
- AI Pathfinding System Overview and Its Components 00:03:13
- NavMeshAgent Overview 00:03:09
- OffMeshLinks Overview 00:03:17
- Making the AI System Interact with Your Scripts 00:03:09
- Creating a Basic Sandbox for Playing with Agents 00:03:31
- Chapter 8 : Script Compilation Order and Mixing Languages in Unity
- Script Execution Order in Unity 00:03:09
- Script Compilation Order in Unity 00:03:02
- Functions Execution Order in Unity 00:03:12
- How to Mix Languages in Unity 00:03:14
- Calling JS Functions from C# 00:03:01
Show and hide more