Code (CSharp):
- private EntityManager entityManager;
- private BlobAssetStore blobAssetStore;
- [SerializeField]
- public Mesh mesh;
- public Material material;
- private Entity spriteEntity;
- public GameObject spritePrefab;
- // Start is called before the first frame update
- void Start()
- {
- Debug.Log("@@@@@@@@");
- entityManager = World.DefaultGameObjectInjectionWorld.EntityManager;
- // blobAssetStore = new BlobAssetStore();
- //...