18 lines
369 B
C#
18 lines
369 B
C#
![]() |
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();
|
||
|
}
|
||
|
}
|