Uploaded February 2017 | Updated September 2026, 2 weeks ago
In this episode we look at how classes (reference types) behave differently to structs (value types).
If you'd like to support these videos, you can make a recurring monthly donation (cancellable at any time) through Patreon: bit.ly/sebPatreon
Or a once-off donation through PayPal:
bit.ly/SupportGamedevTutorials
In this episode we look at how classes (reference types) behave differently to structs (value types).
If you'd like to support these videos, you can make a recurring monthly donation (cancellable at any time) through Patreon: bit.ly/sebPatreon
Or a once-off donation through PayPal:
bit.ly/SupportGamedevTutorials





![[Unity] Programming Practice: Sliding Blocks 1/2
In this first programming practice series, we create a simple sliding blocks puzzle game in Unity. The series is presented in a challenge format, where each step of the project is described, and you are challenged to get it working on your own before watching the next part of the video.
Next episode: https://www.youtube.com/watch?v=X8YnoIq1d1g&lc=UgxokWEZMr6i8Wn1vOp4AaABAg
Source:
https://github.com/SebLague/Programming-Practice/tree/master/Sliding%20Blocks
Support the creation of more gamedev tutorials:
https://www.patreon.com/SebastianLague
https://www.paypal.me/SebastianLague [Unity] Programming Practice: Sliding Blocks 1/2](https://i.ytimg.com/vi/ZrM7uCxtM6E/mqdefault.jpg)




