Introduction to classes
Tutorial
Beginner
25 Mins
Overview
Your progress
Also included in
Summary
In this tutorial, you’ll:
  • Learn about the role of classes in organising code
  • Learn about accessing data in different places using the dot operator (for example, variables inside other variables)
  • Review examples of dot operator use in the SpawnerSample script
  • Review the use of class as a type
When you’ve finished, you’ll be ready to write your own class for the SpawnerSample script.
Recommended Unity versions
2019.2
Industry
Language
English
Tutorial
Introduction to classes
3
Introduction to classes