/CardExample-Unity

Primary LanguageC#MIT LicenseMIT

CardExample-Unity

This is a basic example demonstrating how to create the basis of a system to deal with a card game in Unity.

Video of app running can be seen here:

Currently the app demonstrates these things:

  • Drops a deck of cards onto table instantiated from an AssetBundle.
  • Allows you to shuffle the deck of cards.
  • Allows you to draw a card.
  • Allows you to see the last 5 drawn cards.
  • All used cards are restacked.
  • Cards can be reshuffled and reset at any time.

Technical

  • App is built in Unity 5.2.0p1
  • Currently only tested to be building and running properly for OSX Desktop x86.

Usage

  1. Clone repo.
  2. Open in Unity.
  3. Click 'Assets > Build all Bundles OSX'.
  4. Click 'Play'.