This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class CardController : MonoBehaviour { | |
public Sprite frontSprite; | |
public Sprite backSprite; | |
public float uncoverTime = 12.0f; | |
// Use this for initialization | |
void Start () { | |
GameObject card = new GameObject("Card"); // parent object | |
GameObject cardFront = new GameObject("CardFront"); |