C# Generics in Unity! – Intermediate Scripting Tutorial

Watch this video in context on Unity Learn:

Generic classes and methods allow you to write code without knowing the exact type they will have. The result is that you can write code that can work with a wide array of data types and provide a great level of flexibility. In this video you will learn to create generic methods and classes, as well as place constraints of generic types.

Leave a Reply

Your email address will not be published. Required fields are marked *