Getting Started with Unity 4 Scripting [Video]

Juan Sebastian Muñoz

Getting Started with Unity 4 Scripting [Video]
Downloadable video: $34.99
$20.99
save 40%!

Packt Video. Stream online or download for unrestricted offline use. Learn more

Overview
Course Contents
The Author
Sample Clip
  • New! Packt Video courses: practical screencast-based tutorials that show you how to get the job done. Bite sized chunks, hands on instructions, and powerful results.
  • A great resource for anyone new to Unity 4 scripting
  • Clear step-by-step explanations for each line of code
  • Create custom components that interact with Unity's game engine components
  • Enhance your game with an easy-to-use and extendable input system that works on leading game platforms
  • Create a cool custom GUI for your game
  • Accompanied with finished assets, scripts, and tips for programming in Unity
  • Ideal as a companion to the following Packt titles:

Video Details

Language : English
Release Date : Wednesday, June 5, 2013
Course Length : 126 mins 54 seconds
ISBN : 1849696128
ISBN 13 : 9781849696128
Author(s) : Juan Sebastian Muñoz
Topics and Technologies : Video

Table of Contents

  1. Render Loops and Basic Entry Point Functions [15:37 minutes]
    • Expose Variables in the Inspector from Scripts
    • Entry Points when Scripting in Unity
    • Show Different Usages of the Render Loops
    • Triggers and Collision Callbacks

  2. Components – Adding, Removing, Accessing [15:49 minutes]
    • Components and Their Use
    • Accessing a Custom Component in the Same Game Object
    • Accessing a Component from the Engine Using Scripts
    • Accessing Components in Other Game Objects
    • Searching Components in Game Objects that Have Children

  3. Input in Unity [15:44 mins]
    • Input Manager Overview
    • Connecting the Input Manager with Scripting
    • Axis, Keys, and Their Differences
    • Dissecting Specific Key Presses – Up / Down / Stay
    • Mouse Input

  4. Gizmos and Their Usefulness in Your Game [15:40 mins]
    • Gizmos Functions Overview
    • Gizmos and Scripts
    • Using Gizmos for Visualizing Data
    • Uses of Raycasting and Gizmos
    • Making Gizmos Work with Other Components

  5. Character Controller [16:04 mins]
    • Anatomy of a Character Controller
    • Modifying a Character Controller to Work with Custom Scripts
    • Making the Character Controller Work with the Input System
    • Creating a First-person Character Controller
    • Adding Movement Animations to a Character Controller

  6. GUI Scripting [16:03 mins]
    • GUI Overview and Types of Controls
    • Manual GUI Placing
    • GUI Layouts
    • Mixing the GUI System with the Input System
    • Skinning Your Created GUI

  7. Pathfinding and AI [16:19 mins]
    • AI Pathfinding System Overview and Its Components
    • NavMeshAgent Overview
    • OffMeshLinks Overview
    • Making the AI System Interact with Your Scripts
    • Creating a Basic Sandbox for Playing with Agents

  8. Script Compilation Order and Mixing Languages in Unity [15:38 mins]
    • Script Execution Order in Unity
    • Script Compilation Order in Unity
    • Functions Execution Order in Unity
    • How to Mix Languages in Unity
    • Calling JS Functions from C#

 

 

Juan Sebastian Muñoz

Juan Sebastian started to develop an interest in computer graphics and visualization software early in his college years, when he started to work at the virtual reality lab on a laparoscopic surgery simulator; there after he did his internship in web design, but he knew that game development was the way to go. He found web development boring, and got entry level work at a game studio as a Junior Programmer. There he started to learn Unity and work on some games, and he also started to work on side projects of his own. After he graduated, he moved to Denmark to work at Unity’s head quarters as the Doc Engineer, where he was in charge of all documentation. In this role, he created a parser to automatically translate all the examples written in JavaScript to C# and Boo. After 2 years, he moved to Chile to work in Unity as the core programmer on a marketing research simulator made in Unity. There he was in charge of all the connections and hardware interactions with the engine. Currently, Juan works on his own projects and offers consultancy services in Unity.

He has worked in the following capacities:

  • Junior Programmer in the Virtual reality lab in EAFIT University
  • Junior Programmer for the C2 game studio
  • Documentation Engineer at Unity Headquarters in Copenhagen
  • Core Programmer at IVD Dilbrands
  • Consultancy work for different companies
Sorry, we don't have any reviews for this video yet.

Sorry, there are currently no downloads available for this video.

Support, complaints and feedback.

Packt is committed to making Packt Video courses a valuable, useful way for IT professionals to learn new skills. We have made every effort to ensure that this course reaches the required standard and will work on our customer's devices. Please go to our support page.

What you will learn from this video course

  • Learn how the basic entry points in Unity work, such as render loops, start and awake functions, colliders, and triggers
  • Create custom code that interacts with Unity engine components; such as scripts to make the engine's Artificial Intelligence move
  • Learn how to harness mouse, keyboard, and controller input with your scripts
  • Encapsulate your project in order to be able to port it to other platforms in the future
  • Create visual aids to help you to better understand how your scripts behave through the use of Gizmos
  • Learn how to make a basic character move in Unity; with this you will have the knowledge to make an FPS or a third-person character controller and also know how to mix it with your custom scripts
  • Create basic GUI controls and create your custom GUI either by manually placing it or letting the engine do all the layout placing for you
  • Create custom GUI skins that blend well with your game's art
  • Learn how to combine different languages in Unity, such as mixing JavaScript and C# in case you need to use external libraries written in other languages that the Unity game engine also supports
  • Discover the intricacies of how different scripts get executed in order to manually specify an order of execution for your custom scripts
  • Learn about how Unity's game engine compiles scripts; mix and match programming languages in your game
  • Work with Unity's AI pathfinding system; create enemies for your game or friendly bots to help a player

Who this video course is for

Getting Started with Unity 4 Scripting is for anyone new to Unity, as well as someone with basic knowledge of C# syntax and some experience with Unity. This course will provide insight into the internal workings of Unity's game engine.

In Detail

Create 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.

Approach

Packt video courses are designed to cover the breadth of the topic in short, hands-on, task-based videos. Each course is divided into short manageable sections, so you can watch the whole thing or jump to the bit you need. The focus is on practical instructions and screencasts showing you how to get the job done.

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.

Code Download and Errata
Packt Anytime, Anywhere
Register Books
Print Upgrades
eBook Downloads
Video Support
Contact Us
Awards Voting Nominations Previous Winners
Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
Resources
Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software