Hook your custom C# Systems and Services into Update, Fixed Update and more Unity Player Loop Systems using the UnityEngine LowLevel and PlayerLoop namespaces - in today's example we're building an Improved Unity Timer system that is self managing. This technique can be used for any custom system you need or want to run as part of the player loop including Data Binding and much more.
Want to support me? 😀
Buy me a coffee! https://ko-fi.com/adammyhre
🔔 Subscribe for more Unity Tutorials https://youtube.com/@git-amend
Discord: https://discord.gg/FDRZGQBBUC
#unity3d #gamedev #indiedev
▬ Contents of this video ▬▬▬▬▬▬▬▬▬▬
0:00 Bootstrapping The Player Loop
4:30 Adding a System
10:22 Removing a System
13:44 Improved Timers
*Source code:* https://github.com/adammyhre/Unity-Improved-Timers
More Useful Code:
https://github.com/adammyhre?tab=repositories
Unity Utility Library: https://github.com/adammyhre/Unity-Utils
Lock Inspector Hotkey: https://gist.github.com/adammyhre/4754f731a93bf1cab0d1385ccfa23642
Assets Shown In This Video (Affiliate Links)
Procedural Progress Bar: https://assetstore.unity.com/packages/tools/gui/procedural-circular-health-and-progress-bars-pro-187016?aid=1101lw3sv
Dungeon Mason Tiny Hero Duo: (FREE): https://assetstore.unity.com/packages/3d/characters/humanoids/rpg-tiny-hero-duo-pbr-polyart-225148?aid=1101lw3sv
Tiny Heroes: https://assetstore.unity.com/packages/3d/characters/humanoids/rpg-tiny-hero-wave-pbr-228701?aid=1101lw3sv
Tidal Flask Dungeon Pack: https://assetstore.unity.com/packages/3d/environments/dungeons/fantastic-dungeon-pack-175606?aid=1101lw3sv
Hierarchy Icons: https://assetstore.unity.com/packages/tools/utilities/better-hierarchy-272963?aid=1101lw3sv
Better Transform: https://assetstore.unity.com/packages/tools/utilities/better-transform-size-notes-global-local-workspace-child-parent--276554?aid=1101lw3sv
Better Mesh Filter: https://assetstore.unity.com/packages/tools/utilities/better-mesh-filter-266489?aid=1101lw3sv
Kyeoms VFX: https://assetstore.unity.com/publishers/52756?aid=1101lw3sv
*Follow me!*
https://linktr.ee/gitamend