Added text for idiots

This commit is contained in:
2026-03-20 12:40:38 +00:00
parent 69fd62b3ac
commit c422859ece
2 changed files with 117 additions and 2 deletions

View File

@@ -11,6 +11,7 @@ namespace InterfaceOff.WorldScene
[SerializeField] private Slider SliderThing;
[SerializeField] private WindowSpawner Spawner;
[SerializeField] private GameObject HittyThingThatSkyDidntWantMeToNameItLikeThisAndInsteadNameItPropely;
[SerializeField] private GameObject DisplayMoronText;
[field: SerializeField] public int HitsTaken { get; private set; }
@@ -64,7 +65,7 @@ namespace InterfaceOff.WorldScene
SliderThing.value = pos.y;
}
}
[UsedImplicitly] public void AddForceUp()
{
Vector3 vel = body.velocity;
@@ -74,8 +75,12 @@ namespace InterfaceOff.WorldScene
private IEnumerator DisplayHurtOverlay()
{
HurtOverlay.SetActive(true);
DisplayMoronText.SetActive(true);
yield return new WaitForSecondsRealtime(time: 0.4f);
HurtOverlay.SetActive(false);
yield return new WaitForSecondsRealtime(time: 0.6f);
DisplayMoronText.SetActive(false);
}
}
}