public static void AddStackTrace(int id, StackTraceEntry stackTrace) { if (AtomPreferences.IsDebugModeEnabled) { GetStackTraces(id).Insert(0, stackTrace); } }
public virtual void Raise() { #if !UNITY_ATOMS_GENERATE_DOCS && UNITY_EDITOR StackTraces.AddStackTrace(GetInstanceID(), StackTraceEntry.Create()); #endif OnEventNoValue?.Invoke(); }
public virtual void Raise() { StackTraces.AddStackTrace(GetInstanceID(), StackTraceEntry.Create()); OnEventNoValue?.Invoke(); }