2025-10-13 07:35:57 +08:00
|
|
|
|
using System.Collections;
|
2025-09-29 11:03:26 +08:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using UnityEngine;
|
|
|
|
|
|
|
|
|
|
|
|
public class GameSystem : Singleton<GameSystem>
|
|
|
|
|
|
{
|
2025-10-09 11:54:18 +08:00
|
|
|
|
public NetWorkThirdCharacterController localPlayer;
|
2025-09-29 11:03:26 +08:00
|
|
|
|
public void Init()
|
|
|
|
|
|
{
|
2025-10-09 07:51:05 +08:00
|
|
|
|
UIManager.Inst.Init();
|
|
|
|
|
|
SettingsManager.Inst.Init();
|
|
|
|
|
|
GraphicsManager.Inst.Init();
|
|
|
|
|
|
AudioManager.Inst.Init();
|
2025-09-29 11:03:26 +08:00
|
|
|
|
}
|
2025-10-09 11:54:18 +08:00
|
|
|
|
public void UpdateCursorState(bool value)
|
|
|
|
|
|
{
|
|
|
|
|
|
if (localPlayer != null)
|
|
|
|
|
|
{
|
|
|
|
|
|
localPlayer.UpdateCursorState(value);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2025-09-29 11:03:26 +08:00
|
|
|
|
}
|