Unity C# Tutorial: Getting started with reflection
Reflection is an incredibly powerful feature in C# (and many other languages). In this tutorial I’ll take an initial look at how we can use reflection to access private methods; to find private methods; and to combine it with attributes to seek out particular methods we are looking for and invoke them.
Find the code here: https://github.com/GameDevEducation/DeepDive_Reflection
My Unity Template project: https://gitlab.com/IainMcManus/unitytemplatepublic
My Developer Console asset: https://assetstore.unity.com/packages/tools/gui/developer-console-add-on-106802