#How should I rewrite these two sentences in dots1.0?
1 messages · Page 1 of 1 (latest)
1 messages · Page 1 of 1 (latest)
ECB.AddComponent(selectionUI, new Parent { Value = selectedEntity });
ECB.AddComponent<LocalToParent>(selectionUI);
in dots 1.0 , LocalToParent has removed.
LocalToParent -> LocalTransform
ECB.AddComponent(selectionUI, new Parent { Value = selectedEntity });
ECB.AddComponent<LocalTransform>(selectionUI); like this?