Cleaning up code that was affected by work on #434

- removed dead code
- fixed formatting

Commit-Type: Refactor
This commit is contained in:
Oliver Biwer 2023-10-26 22:39:09 +02:00
parent 6b12b87079
commit 71ecf9c572
2 changed files with 1 additions and 5 deletions

View File

@ -63,14 +63,10 @@ namespace UnityAtoms
#if UNITY_EDITOR
public static StackTraceEntry Create<T>(T obj, int skipFrames = 0) => AtomPreferences.IsDebugModeEnabled ? new StackTraceEntry(new StackTrace(skipFrames), obj) : null;
public static StackTraceEntry Create(object obj, int skipFrames = 0) => AtomPreferences.IsDebugModeEnabled ? new StackTraceEntry(new StackTrace(skipFrames), obj) : null;
public static StackTraceEntry Create(int skipFrames = 0) => AtomPreferences.IsDebugModeEnabled ? new StackTraceEntry(new StackTrace(skipFrames)) : null;
#else
public static StackTraceEntry Create<T>(T obj, int skipFrames = 0) => null;
public static StackTraceEntry Create(object obj, int skipFrames = 0) => null;
public static StackTraceEntry Create(int skipFrames = 0) => null;
#endif