working on multiplayer

This commit is contained in:
2025-06-24 14:45:45 +02:00
parent b1050f627b
commit 5a813f212c
67 changed files with 499 additions and 127 deletions

View File

@@ -0,0 +1,19 @@
using System;
using UnityEngine;
using UnityEngine.AddressableAssets;
namespace RebootKit.Engine.Services.Simulation {
[Serializable]
public struct WorldConfig {
public string name;
// @NOTE: stays loaded during world lifetime
public AssetReference mainScene;
}
[CreateAssetMenu(menuName = RConsts.k_WorldAssetMenu + "World")]
public class WorldConfigAsset : ScriptableObject {
[field: SerializeField]
public WorldConfig Config { get; private set; }
}
}