21 lines
574 B
C#
21 lines
574 B
C#
using Gameplay.Guide;
|
|
using Gameplay.Performance;
|
|
|
|
namespace Gameplay
|
|
{
|
|
public static class CameraServiceAdapter
|
|
{
|
|
public static void InitializeServices()
|
|
{
|
|
CameraServiceLocator.CameraService = new CameraLogic();
|
|
}
|
|
}
|
|
|
|
public class CameraLogic : ICameraLogic
|
|
{
|
|
public bool IsGuiding => GuideManager.Instance.IsGuiding;
|
|
|
|
public bool UseOrthographicMode => PerformanceManager.instance != null &&
|
|
PerformanceManager.instance.data.fightUseOrthographic;
|
|
}
|
|
} |