Hi nice to follow this series. Could you someday tell us how you get rid of the leak that pop up all the time on all new Dots Ecs project ? Or it's only by me ? Thx
When i press play i can see my player in the Entities Hierarchy but my camera bugs and dont show anything on screen, do you config you cam to show the client game?
Looking forward to this series!
Thanks!
I like your style and pace, thanks for making them - liked and subscribed.
Thanks 🙏
Hi nice to follow this series. Could you someday tell us how you get rid of the leak that pop up all the time on all new Dots Ecs project ? Or it's only by me ? Thx
When i press play i can see my player in the Entities Hierarchy but my camera bugs and dont show anything on screen, do you config you cam to show the client game?
Fudge, the Baker AddComponent(spookyBoy) is deprecatd.
Whats the new version?
This is the problem with using these new systems lol
using Unity.Entities;
using UnityEngine;
public class SpawnerAuthoring : MonoBehaviour
{
public GameObject playerPrefab;
private class Baker : Baker
{
public override void Bake(SpawnerAuthoring authoring)
{
Entity entity = GetEntity(TransformUsageFlags.None);
AddComponent(entity, new Spawner
{
playerPrefab = GetEntity(authoring.playerPrefab, TransformUsageFlags.Dynamic),
});
}
}
}
public struct Spawner : IComponentData
{
public Entity playerPrefab;
}