整理信息
This commit is contained in:
parent
77911ba084
commit
1141b010d8
@ -2,17 +2,23 @@ using System.Collections;
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
|
[System.Serializable]
|
||||||
|
public class mengyaoInfo
|
||||||
|
{
|
||||||
|
public string id;
|
||||||
|
public Sprite imge;
|
||||||
|
public Sprite cardimge;
|
||||||
|
public GameObject prefab;
|
||||||
|
}
|
||||||
|
|
||||||
public class MY_Infos : MonoBehaviour
|
public class MY_Infos : MonoBehaviour
|
||||||
{
|
{
|
||||||
// Start is called before the first frame update
|
public List<mengyaoInfo> mengyaoItems=new List<mengyaoInfo>();
|
||||||
void Start()
|
|
||||||
|
public MY_Infos instane;
|
||||||
|
void Awake()
|
||||||
{
|
{
|
||||||
|
instane = this;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Update is called once per frame
|
|
||||||
void Update()
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user