Что я сдал
This commit is contained in:
1 parent
24b1157026
commit
a5665f0101
2838 files changed
+129953
-1304
No files matched your search
@@ -5,6 +5,10 @@ namespace Code.PassingObjects
|
||||
{
|
||||
public class Wall : PassingObject
|
||||
{
|
||||
private void OnTriggerEnter(Collider other) => GameplayManager.Instance.PlayerDead();
|
||||
private void OnTriggerEnter(Collider other)
|
||||
{
|
||||
if (!BonusService.Instance.Invincibility) GameplayManager.Instance.PlayerDied();
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user