public static void SetZoom(float size) { MinimapZoom.SetZoom(size); }
public static float GetZoom() { return(MinimapZoom.GetZoom()); }
public static void ZoomOut() { MinimapZoom.ZoomOut(); }
public static void ZoomIn() { MinimapZoom.ZoomIn(); }
private static void MinimapZoom_OnZoomChanged(MinimapZoom obj) { OnZoomChanged?.Invoke(obj); }
private void Minimap_OnZoomChanged(MinimapZoom obj) { transform.localScale = baseScale * Minimap.GetZoom() / 180f; }
private void Awake() { Instance = this; }