搭建框架

This commit is contained in:
MuHua-123
2025-09-17 17:44:00 +08:00
parent c17af4d74b
commit 5d8f76b3e6
11 changed files with 182 additions and 0 deletions
@@ -0,0 +1,16 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// 物品
/// </summary>
public class DataItem {
/// <summary> 名字 </summary>
public string name;
/// <summary> 图片 </summary>
public Sprite sprite;
/// <summary> 堆叠数量 </summary>
public virtual int MaxStack => 999;
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 427a33328910b764b9014f337267f950
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: