Part 2 of the card game we're creating in Unity 5. This video shows how to create the CardModel. This class is the abstraction of a playing card; it will contain an array of all the possible faces a card can have as well as the back image.
Testing (I call it 'debugging' in the video :/) code is created to flip-through the cards. This test code is throwaway, we won't use it in the game, but it's handy to test the CardModel class.
Part I - https://www.youtube.com/watch?v=FxH8FoddkVY
Unity Package containing this tutorial's finished code - http://sloankelly.net/wp-content/uploads/2015/04/Cards_Part_002.zip
Date Added: 2020-07-31
Category: Cards game
Watched 64 times