Unity Learn home
View Tutorial Content

Namespaces

Tutorial
Intermediate
+10 XP
5 Mins
(80)
Overview
Summary
Namespaces are a fundamental aspect of scripting. By the end of this tutorial, you’ll be able to:
  • Explain the purpose of namespaces.
  • Import a namespace.
  • Declare a type as part of a namespace.
  • Declare nested namespaces.
Select your Unity version
Last updated: November 02, 2022
2021.3
2019.3
2019.2
2019.1
2018.4
2018.3
2018.2
2018.1
2017.4
2017.3
2017.2
2017.1
5.x
4.x
Language
English
Also included in
Namespaces