---
title: "C# Properties"
content_type: tutorial
url: "https://learn.unity.com/course/c-survival-guide-properties/tutorial/c-properties?language=en"
language: en
container_type: course
container_title: "C# Survival Guide - Properties"
container_url: "https://learn.unity.com/course/c-survival-guide-properties.md?language=en"
standalone_markdown_url: "https://learn.unity.com/tutorial/c-properties.md?language=en"
next_title: "Challenge: Declaring Properties"
next_url: "https://learn.unity.com/course/c-survival-guide-properties/tutorial/challenge-declaring-properties?language=en"
next_markdown_url: "https://learn.unity.com/course/c-survival-guide-properties/tutorial/challenge-declaring-properties.md?language=en"
difficulty: intermediate
duration_minutes: 25
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-properties/tutorial/c-properties.md?language=en&version=2019.3"
  - name: "2019.2"
    url: "https://learn.unity.com/course/c-survival-guide-properties/tutorial/c-properties.md?language=en&version=2019.2"
  - name: "2019.1"
    url: "https://learn.unity.com/course/c-survival-guide-properties/tutorial/c-properties.md?language=en&version=2019.1"
  - name: "2018.4"
    url: "https://learn.unity.com/course/c-survival-guide-properties/tutorial/c-properties.md?language=en&version=2018.4"
  - name: "2018.3"
    url: "https://learn.unity.com/course/c-survival-guide-properties/tutorial/c-properties.md?language=en&version=2018.3"
  - name: "2018.2"
    url: "https://learn.unity.com/course/c-survival-guide-properties/tutorial/c-properties.md?language=en&version=2018.2"
  - name: "2018.1"
    url: "https://learn.unity.com/course/c-survival-guide-properties/tutorial/c-properties.md?language=en&version=2018.1"
  - name: "2017.4"
    url: "https://learn.unity.com/course/c-survival-guide-properties/tutorial/c-properties.md?language=en&version=2017.4"
  - name: "2017.3"
    url: "https://learn.unity.com/course/c-survival-guide-properties/tutorial/c-properties.md?language=en&version=2017.3"
  - name: "2017.2"
    url: "https://learn.unity.com/course/c-survival-guide-properties/tutorial/c-properties.md?language=en&version=2017.2"
  - name: "2017.1"
    url: "https://learn.unity.com/course/c-survival-guide-properties/tutorial/c-properties.md?language=en&version=2017.1"
last_updated: "2026-08-04T14:24:43.000Z"
---

# C# Properties

Learn how to use C# properties to safely access and manage variables in your Unity scripts.

In this tutorial, you will learn about properties. These are a much safer way to access variables than making them public, and a very useful tool.

## 1. Properties

[Video](https://connect-mediagw.unity.com/h1/20190530/videos/8a3448d3-b145-4bc5-b756-00fa5617e5f0_00_Properties.mp4) ([Transcript (en)](https://connect-mediagw.unity.com/h1/20200304/f2c9d589-1b21-4aba-97ca-a191537bb40d_00_Properties.vtt))

## 2. Auto Properties

[Video](https://connect-mediagw.unity.com/h1/20190530/videos/a8b9dce6-d02d-4b35-a7e2-1495afde8fc3_01_Auto_Properties.mp4) ([Transcript (en)](https://connect-mediagw.unity.com/h1/20200304/0008e2a4-31a7-44d8-aadc-2dc9d012d49b_01_Auto_Properties.vtt))

## 3. When to Use Properties

[Video](https://connect-mediagw.unity.com/h1/20190530/videos/7ddf1751-b738-4221-a9bf-2e3d014a88fd_04_When_to_Use_Properties.mp4) ([Transcript (en)](https://connect-mediagw.unity.com/h1/20200304/e11c5367-415f-4a80-9237-075adba1e8be_04_When_to_Use_Properties.vtt))
