加入测试样例,初步完善队列信息——视图转换
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user