ball 项目提交

This commit is contained in:
2026-04-20 12:06:34 +08:00
parent 4331ebba60
commit 99145facbd
6052 changed files with 576445 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
using UObject = UnityEngine.Object;
namespace BallKingdomCrush
{
public static class GeneralKit
{
#region Engine
public static T Instantiate<T>(T original) where T : UObject
{
T obj = UObject.Instantiate(original);
return obj;
}
public static void Destroy(UObject obj)
{
if (obj)
{
UObject.Destroy(obj);
}
}
#endregion
}
}