Example #1
0
    void OnMouseUp()
    {
//		Debug.Log("SubmitCard clicked!");
        GameObject currentcard = GameObject.Find("CardZoomTemplate(Clone)");

        audio.PlayOneShot(audioclick.clip, 1F);

        if (currentcard)
        {
            cc.AddtoTimeline(currentcard.GetComponent <Card>().year);
            Debug.Log(currentcard.GetComponent <Card>().year);
        }
    }