Skip to content

Commit

Permalink
Remove floor tile constraint
Browse files Browse the repository at this point in the history
  • Loading branch information
vontell committed Sep 18, 2024
1 parent 68b0c8d commit d502a24
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion Assets/RegressionGames/Resources/BotSegments/1.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
{"type":"NormalizedPath","apiVersion":7,"transient":true,"data":{"path":"UI Canvas/IP Start Button/Text","apiVersion":1,"removedCount":0,"addedCount":1,"count":1,"countRule":"NonZero"}},
{"type":"NormalizedPath","apiVersion":7,"transient":true,"data":{"path":"CharSel_Background/wall1_top_straight_2","apiVersion":1,"removedCount":0,"addedCount":9,"count":9,"countRule":"NonZero"}},
{"type":"NormalizedPath","apiVersion":7,"transient":true,"data":{"path":"CharSel_Background/wall1_base_straight_1","apiVersion":1,"removedCount":0,"addedCount":2,"count":2,"countRule":"NonZero"}},
{"type":"NormalizedPath","apiVersion":7,"transient":true,"data":{"path":"CharSel_Background/env_floor1","apiVersion":1,"removedCount":0,"addedCount":8,"count":8,"countRule":"NonZero"}},
{"type":"NormalizedPath","apiVersion":7,"transient":true,"data":{"path":"CharSel_Background/wall1_top_straight_1","apiVersion":1,"removedCount":0,"addedCount":3,"count":3,"countRule":"NonZero"}},
{"type":"NormalizedPath","apiVersion":7,"transient":true,"data":{"path":"CharSel_Background/env_pebbles","apiVersion":1,"removedCount":0,"addedCount":2,"count":2,"countRule":"NonZero"}},
{"type":"NormalizedPath","apiVersion":7,"transient":true,"data":{"path":"CharSel_Background/env_roots/env_roots_LOD1","apiVersion":1,"removedCount":0,"addedCount":2,"count":2,"countRule":"NonZero"}},
Expand Down
1 change: 0 additions & 1 deletion Assets/RegressionGames/Resources/BotSegments/2.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
{"type":"NormalizedPath","apiVersion":7,"transient":true,"data":{"path":"UI Canvas/IP Start Button/Text","apiVersion":1,"removedCount":0,"addedCount":0,"count":1,"countRule":"NonZero"}},
{"type":"NormalizedPath","apiVersion":7,"transient":true,"data":{"path":"CharSel_Background/wall1_top_straight_2","apiVersion":1,"removedCount":0,"addedCount":0,"count":9,"countRule":"NonZero"}},
{"type":"NormalizedPath","apiVersion":7,"transient":true,"data":{"path":"CharSel_Background/wall1_base_straight_1","apiVersion":1,"removedCount":0,"addedCount":0,"count":2,"countRule":"NonZero"}},
{"type":"NormalizedPath","apiVersion":7,"transient":true,"data":{"path":"CharSel_Background/env_floor1","apiVersion":1,"removedCount":0,"addedCount":0,"count":8,"countRule":"NonZero"}},
{"type":"NormalizedPath","apiVersion":7,"transient":true,"data":{"path":"CharSel_Background/wall1_top_straight_1","apiVersion":1,"removedCount":0,"addedCount":0,"count":3,"countRule":"NonZero"}},
{"type":"NormalizedPath","apiVersion":7,"transient":true,"data":{"path":"CharSel_Background/env_pebbles","apiVersion":1,"removedCount":0,"addedCount":0,"count":2,"countRule":"NonZero"}},
{"type":"NormalizedPath","apiVersion":7,"transient":true,"data":{"path":"CharSel_Background/env_roots/env_roots_LOD1","apiVersion":1,"removedCount":0,"addedCount":0,"count":2,"countRule":"NonZero"}},
Expand Down
1 change: 0 additions & 1 deletion Assets/RegressionGames/Resources/BotSegments/3.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
{"type":"NormalizedPath","apiVersion":7,"transient":true,"data":{"path":"UI Canvas/IP Start Button/Text","apiVersion":1,"removedCount":0,"addedCount":0,"count":1,"countRule":"NonZero"}},
{"type":"NormalizedPath","apiVersion":7,"transient":true,"data":{"path":"CharSel_Background/wall1_top_straight_2","apiVersion":1,"removedCount":0,"addedCount":0,"count":9,"countRule":"NonZero"}},
{"type":"NormalizedPath","apiVersion":7,"transient":true,"data":{"path":"CharSel_Background/wall1_base_straight_1","apiVersion":1,"removedCount":0,"addedCount":0,"count":2,"countRule":"NonZero"}},
{"type":"NormalizedPath","apiVersion":7,"transient":true,"data":{"path":"CharSel_Background/env_floor1","apiVersion":1,"removedCount":0,"addedCount":0,"count":8,"countRule":"NonZero"}},
{"type":"NormalizedPath","apiVersion":7,"transient":true,"data":{"path":"CharSel_Background/wall1_top_straight_1","apiVersion":1,"removedCount":0,"addedCount":0,"count":3,"countRule":"NonZero"}},
{"type":"NormalizedPath","apiVersion":7,"transient":true,"data":{"path":"CharSel_Background/env_pebbles","apiVersion":1,"removedCount":0,"addedCount":0,"count":2,"countRule":"NonZero"}},
{"type":"NormalizedPath","apiVersion":7,"transient":true,"data":{"path":"CharSel_Background/env_roots/env_roots_LOD1","apiVersion":1,"removedCount":0,"addedCount":0,"count":2,"countRule":"NonZero"}},
Expand Down
1 change: 0 additions & 1 deletion Assets/RegressionGames/Resources/BotSegments/4.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
{"type":"NormalizedPath","apiVersion":7,"transient":true,"data":{"path":"UI Canvas/IP Start Button/Text","apiVersion":1,"removedCount":0,"addedCount":0,"count":1,"countRule":"NonZero"}},
{"type":"NormalizedPath","apiVersion":7,"transient":true,"data":{"path":"CharSel_Background/wall1_top_straight_2","apiVersion":1,"removedCount":0,"addedCount":0,"count":9,"countRule":"NonZero"}},
{"type":"NormalizedPath","apiVersion":7,"transient":true,"data":{"path":"CharSel_Background/wall1_base_straight_1","apiVersion":1,"removedCount":0,"addedCount":0,"count":2,"countRule":"NonZero"}},
{"type":"NormalizedPath","apiVersion":7,"transient":true,"data":{"path":"CharSel_Background/env_floor1","apiVersion":1,"removedCount":0,"addedCount":0,"count":8,"countRule":"NonZero"}},
{"type":"NormalizedPath","apiVersion":7,"transient":true,"data":{"path":"CharSel_Background/wall1_top_straight_1","apiVersion":1,"removedCount":0,"addedCount":0,"count":3,"countRule":"NonZero"}},
{"type":"NormalizedPath","apiVersion":7,"transient":true,"data":{"path":"CharSel_Background/env_pebbles","apiVersion":1,"removedCount":0,"addedCount":0,"count":2,"countRule":"NonZero"}},
{"type":"NormalizedPath","apiVersion":7,"transient":true,"data":{"path":"CharSel_Background/env_roots/env_roots_LOD1","apiVersion":1,"removedCount":0,"addedCount":0,"count":2,"countRule":"NonZero"}},
Expand Down
1 change: 0 additions & 1 deletion Assets/RegressionGames/Resources/BotSegments/5.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
{"type":"NormalizedPath","apiVersion":7,"transient":true,"data":{"path":"UI Canvas/IP Start Button/Text","apiVersion":1,"removedCount":0,"addedCount":0,"count":1,"countRule":"NonZero"}},
{"type":"NormalizedPath","apiVersion":7,"transient":true,"data":{"path":"CharSel_Background/wall1_top_straight_2","apiVersion":1,"removedCount":0,"addedCount":0,"count":9,"countRule":"NonZero"}},
{"type":"NormalizedPath","apiVersion":7,"transient":true,"data":{"path":"CharSel_Background/wall1_base_straight_1","apiVersion":1,"removedCount":0,"addedCount":0,"count":2,"countRule":"NonZero"}},
{"type":"NormalizedPath","apiVersion":7,"transient":true,"data":{"path":"CharSel_Background/env_floor1","apiVersion":1,"removedCount":0,"addedCount":0,"count":1,"countRule":"GreaterThanEqual"}},
{"type":"NormalizedPath","apiVersion":7,"transient":true,"data":{"path":"CharSel_Background/wall1_top_straight_1","apiVersion":1,"removedCount":0,"addedCount":0,"count":3,"countRule":"NonZero"}},
{"type":"NormalizedPath","apiVersion":7,"transient":true,"data":{"path":"CharSel_Background/env_pebbles","apiVersion":1,"removedCount":0,"addedCount":0,"count":2,"countRule":"NonZero"}},
{"type":"NormalizedPath","apiVersion":7,"transient":true,"data":{"path":"CharSel_Background/env_roots/env_roots_LOD1","apiVersion":1,"removedCount":0,"addedCount":0,"count":2,"countRule":"NonZero"}},
Expand Down
4 changes: 4 additions & 0 deletions Assets/Tests/Runtime/NavigateUITest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
using NUnit.Framework;
using RegressionGames;
using RegressionGames.Types;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.TestTools;

Expand All @@ -16,6 +17,9 @@ public IEnumerator TestLongHoldsInUI()
// ENABLE THIS ON MAC - Unity has a bug where errors are printed when taking screenshots
// for recordings on Mac. This will suppress those errors so the test can pass properly.
LogAssert.ignoreFailingMessages = true;

// Screen.SetResolution(640, 480, true);
// yield return null;

// Define which bot sequence to use
string sequencePath = "BotSequences/NavigateUI.json";
Expand Down

0 comments on commit d502a24

Please sign in to comment.