Commit 3ba309e
Update the MixedRealityExtensionServiceAttribute to be entirely hidden behind the UNITY_EDITOR check.
The entire function is only ever invoked from a UNITY_EDITOR context, so there's no reason to do any null stuff. This is better in that it will also catch compile-time issues (rather than lead to runtime null problems).1 parent f74177d commit 3ba309e
File tree
1 file changed
+5
-0
lines changed- Assets/MixedRealityToolkit/Attributes
1 file changed
+5
-0
lines changedLines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| 77 | + | |
77 | 78 | | |
78 | 79 | | |
79 | 80 | | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
80 | 84 | | |
81 | 85 | | |
82 | 86 | | |
83 | 87 | | |
| 88 | + | |
84 | 89 | | |
85 | 90 | | |
0 commit comments