Hi everyone,
I’m currently developing a memory card game and everything is going well so far, but I’m facing an issue with randomizing the materials for my cards.
I have 8 card actors, each one with a variable material interface. At the start of the game, I need to randomize these materials in pairs. For example, if I have 8 cards, I need 2 cards to have the same material, ensuring there are matching pairs among the 8 cards.
I’ve tried a few approaches but haven’t been successful. Any advice or tips on how to achieve this would be greatly appreciated!
