Unity C# Tutorial: System.Func and System.Action

Опубликовано: 02 Октябрь 2024
на канале: Iain McManus
891
41

In this tutorial we're going to take a look at what System.Function and System.Action are and some cool ways we can use them to simplify our code.

🎞️ Chapters
00:00 Introduction
00:35 System.Action introduction
03:00 Using System.Action
09:00 Passing parameters to a System.Action
11:00 Introduction to System.Func
15:00 Using anonymous/lambda functions
17:45 Setting up our MoveTo demo

📂 Grab the full project ➠ https://github.com/GameDevEducation/U...

📁 The searchable video archive is at ➠ https://www.iainmcmanus.dev/gamedev-e...

Looking for other ways to get involved?
🟠 Support the channel on Patreon ➠   / iaintheindie  
🟡 Get the code for all the projects on GitHub ➠ https://github.com/orgs/GameDevEducation
🟢 Check out my games on itch.io ➠ http://iaintheindie.itch.io/
🟣 Follow me on Twitter ➠   / iaintheindie  

🎉 Thankyou to all of the Patrons 🎉
➔ Grant Coble-Neal
➔ Daniel
➔ John Kenneth Douglas
➔ Kasper Enwall
➔ Tylah Heil
➔ James McCarthy
➔ Kalvin Pearce
➔ Seriphis
➔ Bradley Seymour
➔ SiliconOrchid
➔ Brian Smith
➔ Callan Syratt
➔ Serj Tomas

#Unity #Tutorial #GameDev