您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 

19 行
569 B

  1. using UnityEngine;
  2. namespace SUISS.Core.Utilities
  3. {
  4. public static class StackTraceUtility
  5. {
  6. public static string ExtractStackTrace()
  7. {
  8. return UnityEngine.StackTraceUtility.ExtractStackTrace();
  9. }
  10. public static bool IsCalledFrom(string methodNameToSearchFor, int stackTraceHistoryAmount = 1, bool logIfFound = false)
  11. {
  12. UnityEngine.Debug.LogWarning("IsCalledFrom is not to be used out of the editor. Please remove it from your code.");
  13. return false;
  14. }
  15. }
  16. }