AlicizaX/Client/Packages/com.alicizax.unity.scene/Runtime/Scene/SceneComponent.cs

17 lines
351 B
C#
Raw Normal View History

2025-04-28 19:45:45 +08:00
using System;
using AlicizaX;
2025-01-23 19:06:48 +08:00
using UnityEngine;
namespace AlicizaX.Scene.Runtime
{
[DisallowMultipleComponent]
[AddComponentMenu("Game Framework/Scene")]
2025-04-28 19:45:45 +08:00
public sealed class SceneComponent : MonoBehaviour
2025-01-23 19:06:48 +08:00
{
2025-04-28 19:45:45 +08:00
private void Awake()
2025-01-23 19:06:48 +08:00
{
2025-04-28 19:45:45 +08:00
ModuleSystem.RegisterModule<ISceneModule,SceneModule>();
2025-01-23 19:06:48 +08:00
}
}
2025-02-06 17:59:35 +08:00
}