mirror of
http://47.107.252.169:3000/Roguelite-Game-Developing-Team/Gen_Hack-and-Slash-Roguelite.git
synced 2025-11-20 04:17:13 +08:00
(client) fix:修改Define通过包为单位加载
This commit is contained in:
22
Client/Assets/Scripts/Data/DefinePack.cs
Normal file
22
Client/Assets/Scripts/Data/DefinePack.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Data
|
||||
{
|
||||
public struct PackAbout
|
||||
{
|
||||
public string name;
|
||||
public string description;
|
||||
public string author;
|
||||
}
|
||||
public class DefinePack
|
||||
{
|
||||
public string packID;
|
||||
public PackAbout packAbout;
|
||||
public List<Define> defines;
|
||||
|
||||
public void LoadPack(string packPath)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
namespace Data
|
||||
{
|
||||
public class DefineSourceData
|
||||
{
|
||||
public string className;
|
||||
public string defName;
|
||||
public string label;
|
||||
public string discription;
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user