功能:添加启动器场景并更新项目设置

- 调整了启动器场景名(Assets/Launcher.unity)及对应的元数据文件。
- 添加了README.md项目文档,包含安装说明、项目结构、编码规范、测试指南及依赖项。
This commit is contained in:
SepComet
2026-02-13 21:49:59 +08:00
parent 88641dae11
commit d650dd63e7
55 changed files with 1136 additions and 161 deletions
@@ -0,0 +1,27 @@
using GameFramework;
using GameFramework.Event;
namespace CustomEvent
{
public class ShopContinueEventArgs : GameEventArgs
{
public static readonly int EventId = typeof(ShopContinueEventArgs).GetHashCode();
public override int Id => EventId;
public ShopContinueEventArgs()
{
}
public static ShopContinueEventArgs Create()
{
var args = ReferencePool.Acquire<ShopContinueEventArgs>();
return args;
}
public override void Clear()
{
}
}
}
@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: b09ad1baac8a41338c0e42baf398beb8
timeCreated: 1770986449
@@ -0,0 +1,34 @@
using GameFramework;
using GameFramework.Event;
namespace CustomEvent
{
public class ShopPurchaseEventArgs : GameEventArgs
{
public static readonly int EventId = typeof(ShopPurchaseEventArgs).GetHashCode();
public override int Id => EventId;
public int GoodsIndex { get; private set; }
public ShopPurchaseEventArgs()
{
GoodsIndex = -1;
}
public static ShopPurchaseEventArgs Create(int index)
{
var args = ReferencePool.Acquire<ShopPurchaseEventArgs>();
args.GoodsIndex = index;
return args;
}
public override void Clear()
{
GoodsIndex = -1;
}
}
}
@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 11c82e4a45804087b1aaf337e38a8836
timeCreated: 1770986490
@@ -0,0 +1,34 @@
using GameFramework;
using GameFramework.Event;
namespace CustomEvent
{
public class ShopRefreshEventArgs : GameEventArgs
{
public static readonly int EventId = typeof(ShopRefreshEventArgs).GetHashCode();
public override int Id => EventId;
public int Cost { get; private set; }
public ShopRefreshEventArgs()
{
Cost = 0;
}
public static ShopRefreshEventArgs Create(int cost)
{
var args = ReferencePool.Acquire<ShopRefreshEventArgs>();
args.Cost = cost;
return args;
}
public override void Clear()
{
Cost = 0;
}
}
}
@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 7f463ec631b54d9e9feda00be716ae68
timeCreated: 1770985436