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

@@ -40,6 +40,30 @@ namespace XCEngine
set => Name = value;
}
public string Tag
{
get => InternalCalls.GameObject_GetTag(UUID) ?? string.Empty;
set => InternalCalls.GameObject_SetTag(UUID, value ?? string.Empty);
}
public string tag
{
get => Tag;
set => Tag = value;
}
public int Layer
{
get => InternalCalls.GameObject_GetLayer(UUID);
set => InternalCalls.GameObject_SetLayer(UUID, value);
}
public int layer
{
get => Layer;
set => Layer = value;
}
public bool activeSelf => InternalCalls.GameObject_GetActiveSelf(UUID);
public bool activeInHierarchy => InternalCalls.GameObject_GetActiveInHierarchy(UUID);
@@ -54,6 +78,11 @@ namespace XCEngine
InternalCalls.GameObject_Destroy(UUID);
}
public bool CompareTag(string tag)
{
return InternalCalls.GameObject_CompareTag(UUID, tag ?? string.Empty);
}
public Transform Transform => GetComponent<Transform>();
public Transform transform => Transform;