hotfix GameManager.cs

This commit is contained in:
M1_IDMhan 2023-08-17 12:47:02 +09:00
parent 3d83d5cc04
commit b8753696e5

View File

@ -10,10 +10,7 @@ public class GameManager : Singleton<GameManager>
{
[Title("Controller")]
public CameraController CameraController { get; private set; }
public UiController UiController { get; private set; }
public Player player;
public List<Boat> boats = new List<Boat>(10);
[Range(0f, 1f)]
@ -22,8 +19,6 @@ public class GameManager : Singleton<GameManager>
private void Init()
{
CameraController = FindObjectOfType<CameraController>();
UiController = FindObjectOfType<UiController>();
player = FindObjectOfType<Player>();
}
protected override void OnAwake()