Unity DOTS Multiplayer: First Steps to Victory - #2

Поділитися
Вставка
  • Опубліковано 5 січ 2025

КОМЕНТАРІ • 11

  • @LimitedInput
    @LimitedInput Рік тому +3

    Looking forward to this series!

  • @vildauget
    @vildauget Рік тому +1

    I like your style and pace, thanks for making them - liked and subscribed.

  • @madboxtv6853
    @madboxtv6853 Рік тому +2

    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

  • @ViradaNoDestino
    @ViradaNoDestino Рік тому +1

    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?

  • @maddocksjos
    @maddocksjos Рік тому +1

    Fudge, the Baker AddComponent(spookyBoy) is deprecatd.
    Whats the new version?

    • @InexperiencedDeveloper
      @InexperiencedDeveloper  Рік тому

      This is the problem with using these new systems lol

    • @janbromberger
      @janbromberger 8 місяців тому

      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;
      }