Answers for "find out which function called unity"

C#
1

find out which function called unity

At the top of your class, add this import:

using System.Diagnostics;


Then in your function:

 string callingFuncName = new StackFrame(1).GetMethod().Name;
Posted by: Guest on August-24-2020

Code answers related to "find out which function called unity"

C# Answers by Framework

Browse Popular Code Answers by Language