View by Component

Physics , Physics 2D , Audio , UI , Tilemap , Cinemachine , Timeline , Network , Animation , Animator , Sprites , Scripting , Tips , Colliders , 2D Colliders , Rigidbody , Rigidbody 2D , Interaction , Editor , Game Mechanics , In-App Purchase , Material , General , Prefab , ProGrids , Light , Rendering , Ads , Scriptable Objects , Events , Level Design , Making Of , Assets , Procedural , ProBuilder , Particles , Machine Learning , News & Announcements , Conference , Enemy & NPC , PlayerPrefs , Post Processing , Interview , Shader , VFX , TextMeshPro , InputSystem , XR

C# Extension Methods in Unity! - Intermediate Scripting Tutorial

Uploaded by Unity
Share: Twitter Facebook
Watch this video in context on Unity Learn:
https://learn.unity.com/tutorial/extension-methods

Extension methods allow you to give functionality to classes that you cannot modify and don't want to derive from. In this video you will learn how to create an extension method for the Transform class.

More from Unity
Authoring 2D Levels with Isometric Tilemap in Unit... Unity
Creator Kit: Beginner Code (Overview) Unity
Implementing an Ability System | Prototype Series Unity
Deep dive with post processing color grading | Un... Unity
Setting up Environment Lighting in Unity 2019.3 wi... Unity
Learn how to use Unity with Learn Premium & Create... Unity

Related
C# Attributes in Unity! - Intermediate Scripting T... Unity
C# Delegates in Unity! - Intermediate Scripting Tu... Unity
C# Events in Unity! - Intermediate Scripting Tutor... Unity
C# Generics in Unity! - Intermediate Scripting Tut... Unity
C# Method Overloading in Unity! - Intermediate Scr... Unity
C# Quaternions in Unity! - Intermediate Scripting ... Unity
Unity Copilot

A platform that gathers Unity tutorials in one place.
Developed by Omar Balfaqih to help Unity learners find tutorials easier and faster in a tailored way.

© 2025 Copyright: UnityCopilot.com
Do you like cookies? 🍪 We use cookies to ensure you get the best experience on our website. Learn more