/// <summary> /// 解除子实体。 /// </summary> /// <param name="childEntityId">要解除的子实体的实体编号。</param> public void DetachEntity(int childEntityId) { m_EntityManager.DetachEntity(childEntityId); }
/// <summary> /// 解除子实体 /// </summary> /// <param name="childEntityId">要解除的子实体的实体编号</param> /// <param name="userData">用户自定义数据</param> public void DetachEntity(int childEntityId, object userData = null) { m_EntityManager.DetachEntity(childEntityId, userData); }