mirror of
https://github.com/frizbee19/FebGameJam.git
synced 2026-09-11 08:17:01 +00:00
Added Camera switching needs to be smoothed soon
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user