您不能選擇超過 %s 個話題 話題必須以字母或數字為開頭,可包含連接號 ('-') 且最長為 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. }