- 添加 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,3 @@
fileFormatVersion: 2
guid: e1274c270d074c23aaaa30b5397a006d
timeCreated: 1772270815
+3
View File
@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 35168ae7e80542e3a6b97a1607c21df5
timeCreated: 1772270856
@@ -0,0 +1,27 @@
using GameFramework;
using GameFramework.Event;
namespace GeometryTD.CustomEvent
{
public class NodeCompleteEventArgs : GameEventArgs
{
public static int EventId = typeof(NodeCompleteEventArgs).GetHashCode();
public override int Id => EventId;
public NodeCompleteEventArgs()
{
}
public static NodeCompleteEventArgs Create()
{
var args = ReferencePool.Acquire<NodeCompleteEventArgs>();
return args;
}
public override void Clear()
{
}
}
}
@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 3c8d1335edfb4fcd8b08279d3c254eff
timeCreated: 1772269787
@@ -0,0 +1,27 @@
using GameFramework;
using GameFramework.Event;
namespace GeometryTD.CustomEvent
{
public class NodeEnterEventArgs : GameEventArgs
{
public static int EventId = typeof(NodeEnterEventArgs).GetHashCode();
public override int Id => EventId;
public NodeEnterEventArgs()
{
}
public static NodeEnterEventArgs Create()
{
var args = ReferencePool.Acquire<NodeEnterEventArgs>();
return args;
}
public override void Clear()
{
}
}
}
@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 8a42a26567434ac194a89aa5c9ae6c5d
timeCreated: 1772270138
@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 709fe1ffb5c64b7087ca303ece9dfbe3
timeCreated: 1772270876
@@ -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
@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 7775d869bf1a4026ae3bd5041db6cace
timeCreated: 1772270829