OldBlueWater/BlueWater/Assets/02.Scripts/GameManager.cs

18 lines
369 B
C#
Raw Normal View History

2023-08-08 07:08:41 +00:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GameManager : Singleton<GameManager>
{
public CameraController CameraController { get; private set; }
private void Init()
{
CameraController = FindObjectOfType<CameraController>();
}
protected override void OnAwake()
{
Init();
}
}