Skip to content

Commit

Permalink
fixed some null checks in 2019
Browse files Browse the repository at this point in the history
  • Loading branch information
MephestoKhaan committed Sep 10, 2019
1 parent 41d50a7 commit 881a655
Show file tree
Hide file tree
Showing 7 changed files with 32 additions and 3 deletions.
5 changes: 4 additions & 1 deletion Assets/EventVisualizer/Editor/EventsGraphGUI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,10 @@ private void UpdateSelection()
int[] selectedIds = new int[selection.Count];
for (int i = 0; i < selection.Count; i++)
{
selectedIds[i] = int.Parse(selection[i].name);
if(selection[i] != null)
{
selectedIds[i] = int.Parse(selection[i].name);
}
}
Selection.instanceIDs = selectedIds;
}
Expand Down
17 changes: 16 additions & 1 deletion Packages/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,22 @@
{
"dependencies": {
"com.unity.package-manager-ui": "2.0.3",
"com.unity.2d.sprite": "1.0.0",
"com.unity.2d.tilemap": "1.0.0",
"com.unity.ads": "2.0.8",
"com.unity.analytics": "3.3.2",
"com.unity.collab-proxy": "1.2.16",
"com.unity.ext.nunit": "1.0.0",
"com.unity.ide.rider": "1.1.0",
"com.unity.ide.vscode": "1.1.0",
"com.unity.package-manager-ui": "2.2.0",
"com.unity.purchasing": "2.0.6",
"com.unity.test-framework": "1.0.13",
"com.unity.textmeshpro": "2.0.1",
"com.unity.timeline": "1.1.0",
"com.unity.ugui": "1.0.0",
"com.unity.xr.legacyinputhelpers": "2.0.2",
"com.unity.modules.ai": "1.0.0",
"com.unity.modules.androidjni": "1.0.0",
"com.unity.modules.animation": "1.0.0",
"com.unity.modules.assetbundle": "1.0.0",
"com.unity.modules.audio": "1.0.0",
Expand Down
Binary file added ProjectSettings/PresetManager.asset
Binary file not shown.
Binary file modified ProjectSettings/ProjectSettings.asset
Binary file not shown.
3 changes: 2 additions & 1 deletion ProjectSettings/ProjectVersion.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
m_EditorVersion: 5.6.3f1
m_EditorVersion: 2019.2.4f1
m_EditorVersionWithRevision: 2019.2.4f1 (c63b2af89a85)
Binary file added ProjectSettings/VFXManager.asset
Binary file not shown.
10 changes: 10 additions & 0 deletions ProjectSettings/XRSettings.asset
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"m_SettingKeys": [
"VR Device Disabled",
"VR Device User Alert"
],
"m_SettingValues": [
"False",
"False"
]
}

0 comments on commit 881a655

Please sign in to comment.