Projects
Courses
Tutorials
Topics
Editor Essentials
Scripting
Graphics & Visual Effects
2D
Mobile & Touch
XR
Physics
User Interface
For Educators
AI & Navigation
More
TOPICS
Browse All Topics
TUTORIAL
PROJECT
COURSE
QUIZ
Unity ID
A Unity ID allows you to buy and/or subscribe to Unity products and services, shop in the Asset Store, and participate in the Unity community.
Create a Unity ID
Sign in
Try Learn Premium
Premium
C# Survival Guide - Functions and Methods
Project
Beginner
1 Hour
5 Mins
44
Jonathan Weinberger
Overview
Details
Your progress
Sign in to track your progress
Where am I?
1.
C# Functions and Methods Overview
2.
Challenge: Pass the Object with Color
3.
Change Position Four Ways
4.
Challenge: Are You Alive?
5.
Return Array
6.
Challenge: Position Matters
Also included in
Course
Unity C# Survival Guide
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.
Recommended Unity versions
2017.1 and Above
Topics we'll cover
Scripting
Industry
AEC
Automotive
Games
Film
Language
English
Track your progress and get personalized recommendations.
Sign in with your Unity ID
Where am I?
Project
C# Survival Guide - Functions and Methods
Start Project
Start here
11
Premium
C# Functions and Methods Overview
Tutorial
Beginner
20 Mins
Jonathan Weinberger
10
Premium
Challenge: Pass the Object with Color
Tutorial
Beginner
5 Mins
Jonathan Weinberger
Unity Learn Premium, Unity Plus & Unity Pro Subscribers
Log in to start
You want to become an expert
and we want to help.
Try Learn Premium
Learn more