Question by
ahjstech · Apr 03, 2020 at 08:39 PM ·
scripting beginneruser interface
Selecting Objects in UI/Inventory
A student of mine wants to develop a basic game for a game jam. The idea is that a color shows up on the screen that at first is combination of 2 colors (you have to make orange, so you must choose the red square and the yellow square). Eventually this would lead to 3 color combinations. I am not sure how to proceed. We thought about doing a grid system and assigning each color a number (red is 2, yellow is 3 so orange would be 2+3). We are also unsure how to script for 'when clicked, check objects number) to ensure that this occurs.
Comment
Your answer
Follow this Question
Related Questions
Pause menu works in editor but not after the game is built. (New Developer) 0 Answers
Read Only float 2 Answers
Animation only if button pressed 0 Answers
Copy Rotation in script C# 1 Answer