OldBlueWater/BlueWater/Assets/02.Scripts/GameManager.cs
2023-08-09 01:58:35 +09:00

20 lines
485 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GameManager : Singleton<GameManager>
{
public CameraController CameraController { get; private set; }
public UiController UiController { get; private set; }
private void Init()
{
CameraController = FindObjectOfType<CameraController>();
UiController = FindObjectOfType<UiController>();
}
protected override void OnAwake()
{
Init();
}
}