-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -59,7 +59,6 @@ sysinfo.txt | |
|
||
# Builds | ||
*.apk | ||
*.unitypackage | ||
|
||
Assets/StreamingAssets/ | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"recommendations": [ | ||
"visualstudiotoolsforunity.vstuc" | ||
] | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "Attach to Unity", | ||
"type": "vstuc", | ||
"request": "attach", | ||
} | ||
] | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
using System; | ||
using UnityEngine; | ||
|
||
namespace Thirdweb | ||
{ | ||
public static class ThirdwebDebug | ||
{ | ||
public static bool IsEnabled => ThirdwebManager.Instance != null && ThirdwebManager.Instance.showDebugLogs; | ||
|
||
public static void Log(object message) | ||
{ | ||
if (IsEnabled) | ||
Debug.Log(message); | ||
} | ||
|
||
public static void LogWarning(object message) | ||
{ | ||
if (IsEnabled) | ||
Debug.LogWarning(message); | ||
} | ||
|
||
public static void LogError(object message) | ||
{ | ||
if (IsEnabled) | ||
Debug.LogError(message); | ||
} | ||
|
||
public static void LogException(Exception exception) | ||
{ | ||
if (IsEnabled) | ||
Debug.LogException(exception); | ||
} | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.