|
- using UnityEngine;
-
- namespace SUISS.Core.Utilities
- {
- public static class StackTraceUtility
- {
- public static string ExtractStackTrace()
- {
- return UnityEngine.StackTraceUtility.ExtractStackTrace();
- }
-
- public static bool IsCalledFrom(string methodNameToSearchFor, int stackTraceHistoryAmount = 1, bool logIfFound = false)
- {
- UnityEngine.Debug.LogWarning("IsCalledFrom is not to be used out of the editor. Please remove it from your code.");
- return false;
- }
- }
- }
|