Made windowspawner keep track of spawned window count

This commit is contained in:
2026-01-19 20:22:35 +00:00
parent e636e28d3a
commit 6c3e7ca111
6 changed files with 18 additions and 18 deletions

View File

@@ -16,10 +16,5 @@ namespace InterfaceOff
float angle = Random.Range(0, Mathf.PI * 2);
Velocity = new Vector2(Mathf.Cos(angle), Mathf.Sin(angle)) * 100;
}
public override void OnWindowCloseButtonClicked()
{
Destroy(gameObject);
}
}
}