- 添加 MainForm

- 添加 ResolutionAdapterComponent 进行屏幕分辨率适配
This commit is contained in:
SepComet
2026-02-28 18:39:20 +08:00
parent 61a096cbc6
commit dfd37778b6
39 changed files with 1365 additions and 20 deletions
@@ -0,0 +1,27 @@
using GameFramework;
using GameFramework.Event;
namespace GeometryTD.CustomEvent
{
public class RepoButtonClickedEventArgs : GameEventArgs
{
public static int EventId = typeof(RepoButtonClickedEventArgs).GetHashCode();
public override int Id => EventId;
public RepoButtonClickedEventArgs()
{
}
public static RepoButtonClickedEventArgs Create()
{
var args = ReferencePool.Acquire<RepoButtonClickedEventArgs>();
return args;
}
public override void Clear()
{
}
}
}
@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: cdad529781d948de8c745c9285a8dabf
timeCreated: 1772270941
@@ -0,0 +1,27 @@
using GameFramework;
using GameFramework.Event;
namespace GeometryTD.CustomEvent
{
public class ReturnButtonClickedEventArgs : GameEventArgs
{
public static int EventId = typeof(ReturnButtonClickedEventArgs).GetHashCode();
public override int Id => EventId;
public ReturnButtonClickedEventArgs()
{
}
public static ReturnButtonClickedEventArgs Create()
{
var args = ReferencePool.Acquire<ReturnButtonClickedEventArgs>();
return args;
}
public override void Clear()
{
}
}
}
@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: fa47a9da112d431f866cb5f3309ad17a
timeCreated: 1772270885