Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
using Unity.Entities;
using Unity.Transforms;
using UnityEngine;
public class CopyTransformToGameObjectConvert : MonoBehaviour, IConvertGameObjectToEntity
public void Convert(Entity entity, EntityManager dstManager, GameObjectConversionSystem conversionSystem)
dstManager.AddComponentData(entity, new CopyTransformToGameObject());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.