Align Unity-style object and hierarchy scripting APIs

This commit is contained in:
2026-04-03 14:31:07 +08:00
parent 9edf378085
commit 5225faff1d
10 changed files with 765 additions and 22 deletions

View File

@@ -0,0 +1,19 @@
namespace XCEngine
{
public abstract class Object
{
protected Object()
{
}
public static void Destroy(Object obj)
{
if (obj == null)
{
return;
}
InternalCalls.Object_Destroy(obj);
}
}
}