Create cards and make them buttons
This commit is contained in:
parent
581d9d7811
commit
6b0200f518
7 changed files with 643 additions and 0 deletions
25
Assets/Battle/CardUI.cs
Normal file
25
Assets/Battle/CardUI.cs
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
|
||||
public class CardUI : MonoBehaviour
|
||||
{
|
||||
public Text nameText;
|
||||
public Text typeText;
|
||||
public Text costText;
|
||||
public Image artImage;
|
||||
public Text effectText;
|
||||
|
||||
// Start is called before the first frame update
|
||||
void Start()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
void Update()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue