未验证 提交 ab6683cc 编写于 作者: W wryl 提交者: GitHub

Update EntityCreateComponet.cs (#232)

捉虫
上级 a2260805
......@@ -25,8 +25,8 @@ namespace ET
{
Entity component = Create(type, isFromPool);
component.Id = parent.Id;
component.ComponentParent = parent;
component.Id = this.Id;
component.ComponentParent = this;
EventSystem.Instance.Awake(component);
return component;
......@@ -80,4 +80,4 @@ namespace ET
return (T)component;
}
}
}
\ No newline at end of file
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册