public void DestroyColliderComponent() { if (MainAuthoring is IItemMainRenderableAuthoring renderableAuthoring) { renderableAuthoring.DestroyColliderComponent(); ColliderAuthoring = null; } }
public void DestroyColliderComponent() { MainAuthoring.DestroyColliderComponent(); ColliderAuthoring = null; }
public ConvertedItem(IItemMainAuthoring mainAuthoring, IEnumerable <IItemMeshAuthoring> meshAuthoring, IItemColliderAuthoring colliderAuthoring) { MainAuthoring = mainAuthoring; MeshAuthoring = meshAuthoring; ColliderAuthoring = colliderAuthoring; }
public ConvertedItem(IItemMainAuthoring mainAuthoring) { MainAuthoring = mainAuthoring; MeshAuthoring = new IItemMeshAuthoring[0]; ColliderAuthoring = null; }