Unity Learn home
View Project Content

C# Survival Guide - Functions and Methods

Project
Beginner
+60 XP
1 Hour5 Mins
(159)
Overview
Summary
In this project, you will learn about methods. Methods are also called functions in C#. They are used to segment your scripts into modular, self-contained, and reusable bundles.
Project Objective
By the end of this project, you will be able to:
  • Understand the syntax and uses of methods
  • Use parameters to input variables into a method
  • Use return values to output the outcome of a method
Select your Unity version
Last updated: April 19, 2021
2019.3
2019.2
2019.1
2018.4
2018.3
2018.2
2018.1
2017.4
2017.3
2017.2
2017.1
Language
English