Skip to content
This repository has been archived by the owner on Jul 26, 2024. It is now read-only.

Commit

Permalink
tiny
Browse files Browse the repository at this point in the history
  • Loading branch information
KirisameSoup committed Apr 6, 2024
1 parent 51fcc14 commit a06b896
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions reversed/Plugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -331,19 +331,19 @@ static void ModifyOldFinish(LevelPassTrigger origFinish)

bool overlappedBellow = hit is not null;

foreach (Collider collider in colliders)
{
if (!collider.enabled) continue;
// foreach (Collider collider in colliders)
// {
// if (!collider.enabled) continue;

collider.isTrigger = false;
// collider.isTrigger = false;

// if (overlappedBellow)
// collider.enabled=false;
// // if (overlappedBellow)
// // collider.enabled=false;

// Bounds bounds = collider.bounds;
// // Bounds bounds = collider.bounds;

// collider.transform.localScale = new Vector3(bounds.size.x + uniRadius, bounds.size.y + uniRadius, bounds.size.z + uniRadius);
}
// // collider.transform.localScale = new Vector3(bounds.size.x + uniRadius, bounds.size.y + uniRadius, bounds.size.z + uniRadius);
// }
}

static void ReverseSpawn(Vector3 finpos, float finhight)
Expand Down

0 comments on commit a06b896

Please sign in to comment.