Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/llamacademy/unity-csharp-basics-5
Learn about delegates in a Unity-focused tutorial!
https://github.com/llamacademy/unity-csharp-basics-5
delegates game-development gamedev gamedevelopment tutorial tutorial-code unity unity3d
Last synced: 3 months ago
JSON representation
Learn about delegates in a Unity-focused tutorial!
- Host: GitHub
- URL: https://github.com/llamacademy/unity-csharp-basics-5
- Owner: llamacademy
- License: mit
- Created: 2022-05-30T13:26:46.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-07-24T13:55:54.000Z (over 2 years ago)
- Last Synced: 2024-04-09T22:29:39.903Z (7 months ago)
- Topics: delegates, game-development, gamedev, gamedevelopment, tutorial, tutorial-code, unity, unity3d
- Language: ShaderLab
- Homepage: https://youtu.be/1N6k7Hj_JKc
- Size: 1.94 MB
- Stars: 6
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Unity Coding Basics Part 5 - Delegates & Raising Events
If you've been using Unity for a while, or are just getting started with Unity and decided it's time for you to start learning how to write code - this is the video series you need to start your programming journey!
* [Part 1](https://youtu.be/SXaa61JWLDw) - [GitHub Repository](https://github.com/llamacademy/unity-csharp-basics-1)
* [Part 2](https://youtu.be/MB6B9nHSrps) - [GitHub Repository](https://github.com/llamacademy/unity-csharp-basics-2)
* [Part 3](https://youtu.be/TD3yoFg3GVI) - [GitHub Repository](https://github.com/llamacademy/unity-csharp-basics-3)
* [Part 4](https://youtu.be/JRRlAzBh-6U) - No GitHub Repository for this one. Nothing new implemented.
* [Part 5](https://youtu.be/1N6k7Hj_JKc) - You are here 🙂In this tutorial repository (with [associated video](https://youtu.be/1N6k7Hj_JKc)), aimed at absolute beginners who have very little to no coding experience whatsoever, you'll learn about delegates, when to use them, and when you might want to use a UnityEvent instead!
**📝📝📝YOUR HOMEWORK!📝📝📝**
Update your singleton MonoBehaviour to raise events when it spawns an object and when that object is destroyed! For the simplest implementation you can just do a Debug.Log but think about the signature of the event so you can apply it to your game!
📚 Here are the resources I mentioned and/or brought up during the video 📚
* Delegates: https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/delegates/
* Using Delegates: https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/delegates/using-delegates
* Unity Events: https://docs.unity3d.com/ScriptReference/Events.UnityEvent.htm
* Singleton: https://en.wikipedia.org/wiki/Singleton_pattern[![Youtube Tutorial](./Video%20Screenshot.png)](https://youtu.be/1N6k7Hj_JKc)
## Patreon Supporters
Have you been getting value out of these tutorials? Do you believe in LlamAcademy's mission of helping everyone make their game dev dream become a reality? Consider becoming a Patreon supporter and get your name added to this list, as well as other cool perks.
Head over to https://patreon.com/llamacademy to show your support.### Phenomenal Supporter Tier
* YOUR NAME HERE!### Tremendous Supporter Tier
* YOUR NAME HERE!### Awesome Supporter Tier
* Andrew Bowen
* Gerald Anderson
* AudemKay
* Paul Berry
* Matt Parkin
* Ivan
* YOUR NAME HERE!### Supporters
* Bastian
* Trey Briggs
* YOUR NAME HERE!## Other Projects
Interested in other AI Topics in Unity, or other tutorials on Unity in general?* [Check out the LlamAcademy YouTube Channel](https://youtube.com/c/LlamAcademy)!
* [Check out the LlamAcademy GitHub for more projects](https://github.com/llamacademy)## Requirements
* Requires Unity 2020.3 LTS or higher.