Spawn-managed Spawner objects
GameSystem object that summarizes residual machine score pause control flags etc. Assume you have
Spawner only needs to reference the GameSystem object.
The code that changes Spawner's behavior depending on the score is Spawner's own behavior, so
in the Spawner.Move logic (MonoBehavior.Update if you are using it directly) Check GameSystem.Score and change the spawn control parameters when the conditions are met.
Method 1: If you want to add one point at a time, you can use the remainder of the division.
Method 2: Introduce variables for determination if additional points change.
© 2022 OneMinuteCode. All rights reserved.