28 lines
647 B
C#
28 lines
647 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
public class CharacterCardView : MonoBehaviour
|
|
{
|
|
public GameObject charactCard;
|
|
public Image characterImage;
|
|
public Image levelIcon;
|
|
public Image occupationIcon;
|
|
public string characterName;
|
|
|
|
void Start()
|
|
{
|
|
charactCard=gameObject;
|
|
characterImage.sprite = null;
|
|
levelIcon.sprite = null;
|
|
}
|
|
/// <summary>
|
|
/// 根据角色名称获取角色介绍信息
|
|
/// </summary>
|
|
void checkCharacterInformation()
|
|
{
|
|
Debug.Log("尝试获取角色介绍:"+characterName);
|
|
}
|
|
}
|