- 添加 MainForm
- 添加 ResolutionAdapterComponent 进行屏幕分辨率适配
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user