整理信息

This commit is contained in:
wulongxiao 2025-01-06 09:56:29 +08:00
parent 77911ba084
commit 1141b010d8

View File

@ -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()
{
}
} }