---
title: "C# Functions and Methods Overview"
content_type: tutorial
url: "https://learn.unity.com/course/c-survival-guide-functions-and-methods/tutorial/c-functions-and-methods-overview?language=en"
language: en
container_type: course
container_title: "C# Survival Guide - Functions and Methods"
container_url: "https://learn.unity.com/course/c-survival-guide-functions-and-methods.md?language=en"
standalone_markdown_url: "https://learn.unity.com/tutorial/c-functions-and-methods-overview.md?language=en"
next_title: "Challenge: Pass the Object with Color"
next_url: "https://learn.unity.com/course/c-survival-guide-functions-and-methods/tutorial/challenge-pass-the-object-with-color?language=en"
next_markdown_url: "https://learn.unity.com/course/c-survival-guide-functions-and-methods/tutorial/challenge-pass-the-object-with-color.md?language=en"
difficulty: beginner
duration_minutes: 20
unity_version:
  - "2019.3"
  - "2019.2"
  - "2019.1"
  - "2018.4"
  - "2018.3"
  - "2018.2"
  - "2018.1"
  - "2017.4"
  - "2017.3"
  - "2017.2"
  - "2017.1"
supported_unity_versions:
  - name: "2019.3"
    url: "https://learn.unity.com/course/c-survival-guide-functions-and-methods/tutorial/c-functions-and-methods-overview.md?language=en&version=2019.3"
  - name: "2019.2"
    url: "https://learn.unity.com/course/c-survival-guide-functions-and-methods/tutorial/c-functions-and-methods-overview.md?language=en&version=2019.2"
  - name: "2019.1"
    url: "https://learn.unity.com/course/c-survival-guide-functions-and-methods/tutorial/c-functions-and-methods-overview.md?language=en&version=2019.1"
  - name: "2018.4"
    url: "https://learn.unity.com/course/c-survival-guide-functions-and-methods/tutorial/c-functions-and-methods-overview.md?language=en&version=2018.4"
  - name: "2018.3"
    url: "https://learn.unity.com/course/c-survival-guide-functions-and-methods/tutorial/c-functions-and-methods-overview.md?language=en&version=2018.3"
  - name: "2018.2"
    url: "https://learn.unity.com/course/c-survival-guide-functions-and-methods/tutorial/c-functions-and-methods-overview.md?language=en&version=2018.2"
  - name: "2018.1"
    url: "https://learn.unity.com/course/c-survival-guide-functions-and-methods/tutorial/c-functions-and-methods-overview.md?language=en&version=2018.1"
  - name: "2017.4"
    url: "https://learn.unity.com/course/c-survival-guide-functions-and-methods/tutorial/c-functions-and-methods-overview.md?language=en&version=2017.4"
  - name: "2017.3"
    url: "https://learn.unity.com/course/c-survival-guide-functions-and-methods/tutorial/c-functions-and-methods-overview.md?language=en&version=2017.3"
  - name: "2017.2"
    url: "https://learn.unity.com/course/c-survival-guide-functions-and-methods/tutorial/c-functions-and-methods-overview.md?language=en&version=2017.2"
  - name: "2017.1"
    url: "https://learn.unity.com/course/c-survival-guide-functions-and-methods/tutorial/c-functions-and-methods-overview.md?language=en&version=2017.1"
last_updated: "2026-08-14T15:20:10.000Z"
---

# C# Functions and Methods Overview

Learn how to define and call methods using different parameters and return types in C# scripts.

In this tutorial, you will learn about methods (which are also called functions). You will explore how to use methods with different input parameters and return types.

## 1. Functions vs. Methods

[Video](https://connect-mediagw.unity.com/h1/20190527/videos/1a6af8d8-d89d-4c88-b1cf-64f40dfc375e_00_Functions_Vs_Methods_Void.mp4) ([Transcript (en)](https://connect-mediagw.unity.com/h1/20200212/16ebb736-08c7-498d-b3cc-0d0ceec9f61a_00_Functions_Vs_Methods_Void.vtt))

## 2. Method Parameters

[Video](https://connect-mediagw.unity.com/h1/20190527/videos/f93638d6-7d48-41c6-acf5-33b588736730_01_Method_Parameters.mp4) ([Transcript (en)](https://connect-mediagw.unity.com/h1/20200212/fad650d0-e1b8-4b5f-a079-28f398ecfa9d_01_Method_Parameters.vtt))

## 3. Return Type Functions

[Video](https://connect-mediagw.unity.com/h1/20190527/videos/e5196802-ae87-4f9c-8371-90518e0192c6_04_Return_Type_Functions.mp4) ([Transcript (en)](https://connect-mediagw.unity.com/h1/20200212/79ef680c-0f60-4c12-be57-752651bb6848_04_Return_Type_Functions.vtt))
