Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Unity Animation Essentials
  • Table Of Contents Toc
  • Feedback & Rating feedback
Unity Animation Essentials

Unity Animation Essentials

By : Alan Thorn
3.8 (10)
close
close
Unity Animation Essentials

Unity Animation Essentials

3.8 (10)
By: Alan Thorn

Overview of this book

This book is targeted at hobbyists, students, and game development professionals familiar with the Unity basics, looking to extend their skills and knowledge in the field of real-time game animation. You will need to be familiar with level design and basic scripting in C# and have a good knowledge of game development.
Table of Contents (9 chapters)
close
close

Conventions

In this book, you will find a number of text styles that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning.

Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "By default, all new scripts are created with two functions, Start and Update."

A block of code is set as follows:

using UnityEngine;
using System.Collections;
public class MoviePlay : MonoBehaviour 
{
  //Reference to movie to play
  public MovieTexture Movie = null;
  // Use this for initialization
  void Start () 
  {
    //Get Mesh Renderer Component
    MeshRenderer MeshR = GetComponent<MeshRenderer>();
    //Assign movie texture
    MeshR.material.mainTexture = Movie;
    GetComponent<AudioSource>().clip = Movie.audioClip; 
    GetComponent<AudioSource>().spatialBlend=0;
    Movie.Play();
    GetComponent<AudioSource>().Play();
  }
}

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

using UnityEngine;
using System.Collections;
public class Mover : MonoBehaviour 
{
  // Use this for initialization
  void Start () {
  }
  // Update is called once per frame
  void Update () 
  {
    //Transform component on this object
    Transform ThisTransform = GetComponent<Transform>();
    //Add 1 to x axis position
    ThisTransform.position += new Vector3(1f,0f,0f);
  }
}

New terms and important words are shown in bold. Words that you see on the screen, for example, in menus or dialog boxes, appear in the text like this: "Once the curve is constructed, give the code a test run by playing the Unity project, and see the effect it has in the Game tab."

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Unity Animation Essentials
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon