29 lines
776 B
C#
29 lines
776 B
C#
#nullable enable
|
|
using UnityEngine;
|
|
using UVC.Core;
|
|
using UVC.UI.Menu;
|
|
using UVC.Util;
|
|
|
|
namespace UVC.Studio
|
|
{
|
|
public class StudioAppContext : InjectorAppContext
|
|
{
|
|
|
|
/// <summary>
|
|
/// App 라이프사이클 서비스들을 등록합니다.
|
|
/// Awake 시점에 자동 호출되며, 모든 서비스는 씬 전환 시에도 유지됩니다.
|
|
/// </summary>
|
|
protected override void RegisterServices()
|
|
{
|
|
base.RegisterServices();
|
|
|
|
// 여기에 StudioAppContext에 등록할 서비스들을 추가하세요.
|
|
|
|
Injector.RegisterSingleton<StudioAppMain>();
|
|
Injector.RegisterSingleton<CursorManager>();
|
|
Injector.RegisterSingleton<ContextMenuManager>();
|
|
|
|
|
|
}
|
|
}
|
|
} |