Answers for "unity find where a function is being called"

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 "unity find where a function is being called"

C# Answers by Framework

Browse Popular Code Answers by Language