docs: sync rendering pass execution docs

This commit is contained in:
2026-04-03 15:10:37 +08:00
parent d4afa022c1
commit 19bd38ab15
59 changed files with 1544 additions and 420 deletions

View File

@@ -24,6 +24,30 @@ namespace XCEngine
public Transform Transform => GameObject.Transform;
public Transform transform => Transform;
public string Tag
{
get => GameObject.tag;
set => GameObject.tag = value;
}
public string tag
{
get => Tag;
set => Tag = value;
}
public int Layer
{
get => GameObject.layer;
set => GameObject.layer = value;
}
public int layer
{
get => Layer;
set => Layer = value;
}
public bool HasComponent<T>() where T : Component
{
return GameObject.HasComponent<T>();
@@ -60,6 +84,11 @@ namespace XCEngine
return component != null;
}
public bool CompareTag(string tag)
{
return GameObject.CompareTag(tag);
}
internal static T Create<T>(ulong gameObjectUUID) where T : Component
{
return Create(typeof(T), gameObjectUUID) as T;