Classes

Tutorial

·

Beginner

·

+10XP

·

10 mins

·

(2127)

Unity Technologies

Classes

How to use Classes to store and organize your information, and how to create constructors to work with parts of your class.

This tutorial is included in the Beginner Scripting project.

Previous: Data Types

Next: Instantiate

Languages available:

1. Classes


SingleCharacterScript


[@portabletext/react] Unknown block type "code", specify a component for it in the `components.types` prop

Inventory


[@portabletext/react] Unknown block type "code", specify a component for it in the `components.types` prop

MovementControls


[@portabletext/react] Unknown block type "code", specify a component for it in the `components.types` prop

Shooting


[@portabletext/react] Unknown block type "code", specify a component for it in the `components.types` prop

Complete this tutorial