docs: sync rendering pass execution docs
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user