Question by
OffhandBurrito · Aug 24, 2017 at 02:57 PM ·
classesstructure
Class Structure for Many to Many relationship?
I'm creating a simple topdown 2d sidescroller with individual rooms.
I currently have several buttons and several gates in the scene.
I intend to have a gate opened when several buttons are in a pressed state. I also have buttons required to open multiple gates.
What is the best way to structure my program to do this?
Perhaps create a RoomController gameobject?
Comment
Your answer
Follow this Question
Related Questions
How to structure achievements? 1 Answer
Can't load array from another class 0 Answers
class1 calling class2, no value? 1 Answer
Calling Function from another script not working 1 Answer
Scripts unintentionally sharing data (using public classes) 0 Answers