-
10
pages
-
English
-
Documents
Description
Introduction to scripting with Unity
Scripting is an essential part of Unity as it
defines the behaviour of your game. This
tutorial will introduce the fundamentals of
scripting using Javascript. No prior knowledge
of Javascript or Unity is required.
Time to complete: 2 hours.
Author: Graham McAllister
Contents 1. Aims of this tutorial
Scripting is how the user defines a game’s behaviour (or
rules) in Unity. The recommended programming 1. Aims of this tutorial
language for Unity is Javascript, however C# or Boo
2. Prerequisites can also be used. This tutorial will cover the
fundamentals of scripting in Unity and also introduce key 3. Naming conventions
elements of the Application Programming Interface (API).
4. Player Input You can think of the API as code that has already been
written for you which lets you concentrate on your game 5. Connecting variables
design and also speeds up development time.
6. Accessing components
A good understanding of these basic principles is
7. Instantiate essential in order to harness the full power of Unity.
8. Debugging
9. Common Script Types
2. Prerequisites
This tutorial focuses on the scripting element of Unity, it
is assumed you are already familiar with Unity’s interface
(if not you should read the Unity GUI tutorial).
In order to make scripting easier to understand, it is
preferable to have a code editor that has syntax
highlighting support for Javascript. This means that
reserved words (syntax used by Javascript ...
Scripting is an essential part of Unity as it
defines the behaviour of your game. This
tutorial will introduce the fundamentals of
scripting using Javascript. No prior knowledge
of Javascript or Unity is required.
Time to complete: 2 hours.
Author: Graham McAllister
Contents 1. Aims of this tutorial
Scripting is how the user defines a game’s behaviour (or
rules) in Unity. The recommended programming 1. Aims of this tutorial
language for Unity is Javascript, however C# or Boo
2. Prerequisites can also be used. This tutorial will cover the
fundamentals of scripting in Unity and also introduce key 3. Naming conventions
elements of the Application Programming Interface (API).
4. Player Input You can think of the API as code that has already been
written for you which lets you concentrate on your game 5. Connecting variables
design and also speeds up development time.
6. Accessing components
A good understanding of these basic principles is
7. Instantiate essential in order to harness the full power of Unity.
8. Debugging
9. Common Script Types
2. Prerequisites
This tutorial focuses on the scripting element of Unity, it
is assumed you are already familiar with Unity’s interface
(if not you should read the Unity GUI tutorial).
In order to make scripting easier to understand, it is
preferable to have a code editor that has syntax
highlighting support for Javascript. This means that
reserved words (syntax used by Javascript ...
-
Publié par
-
Langue
English