Added Camera switching needs to be smoothed soon

This commit is contained in:
Unknown
2022-02-23 21:27:36 -06:00
parent 80bf0b7702
commit 0de7c077f7
6 changed files with 131 additions and 31 deletions
+2 -2
View File
@@ -25,7 +25,7 @@ public class Ceiling_Trigger : MonoBehaviour
}
void OnTriggerEnter2D(Collider2D col)
{
if (!entered && counter >= 69)
if (!entered && counter >= 6)
{
entered = true;
@@ -35,7 +35,7 @@ public class Ceiling_Trigger : MonoBehaviour
Debug.Log(counter);
counter = 0;
}
else if (counter >= 69 && entered)
else if (counter >= 6 && entered)
{
//Debug.Log("Moved cam left");
Debug.Log(counter);