PacktLib: Unity 3.x Scripting

Unity 3.x Scripting

Credits

About the Authors

About the Reviewer

www.PacktPub.com

Preface

Diving into Scripting

Downloading and installing assets for this book

Getting started with the game

Available Character Controllers

Interactive objects

Dynamic objects

Summary

Custom Character Controller

Creating a controllable character

Custom Character Controller

Cameras

Animation controls

Summary

Action Game Essentials

Programming weapons and pickables

Advanced animation system

Weapon pickup

Adding ammo and health pickups

Creating a treasure chest

Applying projectile fixes

Tethering and soft body

Summary

Drag-and-Drop Inventory

GUI basics

Drag-and-drop inventory

Character customization

Summary

Dynamic GUI

Radial health display

Creating items

Creating armor

Creating the weapons

Scripting and displaying the score system

Displaying the objectives

Creating the targeting system

Summary

Game Master Controller

Game manager theory

Creating game managers

GameLoader

Dynamic camera

Audio

Audio manager

Summary

Introduction to AI Pathfinding and Behaviors

Simple waypoint pathfinding

Enemy statistics, shooting, and behaviors

Returning to the aiSimplePath script

The bulletCollision, ammoCollision, and AmmoInfo scripts

Summary

Object-oriented Programming in Unity

Object-oriented Programming in Unity

Object-oriented Programming in Unity