Netcode Bootstrap

This commit is contained in:
Luis Gonzalez
2026-05-31 14:27:52 -07:00
parent 99d8d2d2a9
commit 7fa77ce821
1813 changed files with 2921554 additions and 84 deletions
@@ -0,0 +1,15 @@
using Unity.Entities;
using Unity.Mathematics;
namespace ProjectM.Simulation
{
/// <summary>
/// Singleton baked into the gameplay subscene, holding the baked player ghost prefab entity so
/// the server spawn system can instantiate it on connect. Mirrors the netcode CubeSpawner sample.
/// </summary>
public struct PlayerSpawner : IComponentData
{
public Entity PlayerPrefab;
public float3 SpawnPoint;
}
}
@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 8d1945139846b49a7943b7149188aa45