Skip to content

Commit de064e5

Browse files
committed
example project updates
1 parent b7b6811 commit de064e5

File tree

4 files changed

+12
-25
lines changed

4 files changed

+12
-25
lines changed

example/Assets/Scripts/ExampleManager.cs

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -39,23 +39,5 @@ public void LoadOtherScene()
3939
BugsnagSceneManager.LoadScene(1, LoadSceneMode.Additive);
4040
}
4141

42-
public void DoNestedSpanMainThread()
43-
{
44-
var span1 = BugsnagPerformance.StartSpan("Span1");
45-
var span2 = BugsnagPerformance.StartSpan("Span2");
46-
span2.End();
47-
span1.End();
48-
}
49-
50-
public void DoNestedSpanThreaded()
51-
{
52-
var span1 = BugsnagPerformance.StartSpan("Span1");
53-
new Thread(() => {
54-
var span2 = BugsnagPerformance.StartSpan("Span2");
55-
span2.End();
56-
}).Start();
57-
58-
span1.End();
59-
}
6042

6143
}

example/Packages/manifest.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
{
22
"dependencies": {
3-
"com.unity.collab-proxy": "1.15.13",
4-
"com.unity.ide.rider": "2.0.7",
5-
"com.unity.ide.visualstudio": "2.0.14",
3+
"com.bugsnag.performance.unity": "https://github.com/bugsnag/bugsnag-unity-performance-upm.git",
4+
"com.unity.collab-proxy": "2.0.4",
5+
"com.unity.ide.rider": "3.0.21",
6+
"com.unity.ide.visualstudio": "2.0.18",
67
"com.unity.ide.vscode": "1.2.5",
7-
"com.unity.test-framework": "1.1.31",
8+
"com.unity.test-framework": "1.1.33",
89
"com.unity.textmeshpro": "3.0.6",
910
"com.unity.timeline": "1.4.8",
1011
"com.unity.toolchain.macos-x86_64-linux-x86_64": "2.0.4",

example/ProjectSettings/ProjectSettings.asset

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,11 @@ PlayerSettings:
562562
webGLLinkerTarget: 1
563563
webGLThreadsSupport: 0
564564
webGLDecompressionFallback: 0
565-
scriptingDefineSymbols: {}
565+
scriptingDefineSymbols:
566+
1: BUGSNAG_PERFORMANCE
567+
4: BUGSNAG_PERFORMANCE
568+
7: BUGSNAG_PERFORMANCE
569+
13: BUGSNAG_PERFORMANCE
566570
additionalCompilerArguments: {}
567571
platformArchitecture: {}
568572
scriptingBackend: {}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
m_EditorVersion: 2020.3.31f1
2-
m_EditorVersionWithRevision: 2020.3.31f1 (6b54b7616050)
1+
m_EditorVersion: 2020.3.48f1
2+
m_EditorVersionWithRevision: 2020.3.48f1 (b805b124c6b7)

0 commit comments

Comments
 (0)