Hi,
How to add Light component to entity? I have tried the sample script from Unity docs but it (surprise surprise) doesn't work.
Here's what I've tried:
Light lightComp = myEntity.gameObject.AddComponent<Light>();
lightComp.color = Color.blue;
lightComp.transform.localPosition = new Vector3(0, 5, 0);