C# Randomization of a series of object (goal type game)
Hello all,
I'm fairly new to scripting and C#. Long story short I'm trying to make a goal oriented game. Basically, there will be several 'blocks' at the top of the screen (evenly horizontal stretched across).
However, of these blocks i need only 1 to be 'open/invisible' at a time at random - as to create an 'opening' for the player to shoot and make a goal.
In addition, as the blocks move towards the bottom of the screen in unison, the more rapid or sped up these random openings get. (I have created the vertical movement script already) To my understanding this would be an array of objects?
I've done a lot of research on articles and Youtube, alas I cannot find what I'm looking for - not for randomization of a 'group' of objects and one of these objects to be invisible at any givin time.
Any help with this would be great! Thank you!
Your answer
Follow this Question
Related Questions
Stepping on game object moves quickly to react 0 Answers
Creating solid meshes and turning them into permeable with trigger 0 Answers
OnTriggerEnter and Exit activate at the same time when moving on a platform. 0 Answers
My Code freezes Unity - not sure what to do... 1 Answer
finding valid targets in range 1 Answer