Cleanup compile warnings, cleanup logs, spruce up level selection menu
This commit is contained in:
@@ -2,14 +2,13 @@
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using AppleHills.Data.CardSystem;
|
||||
using UnityEditor;
|
||||
using UnityEditor.AddressableAssets.Settings;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
using AppleHills.Editor.Utilities;
|
||||
using UI.CardSystem;
|
||||
using UnityEditor;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
|
||||
namespace AppleHills.Editor.CardSystem
|
||||
namespace Editor.CardSystem
|
||||
{
|
||||
/// <summary>
|
||||
/// Editor utility for managing card definitions without directly editing scriptable objects.
|
||||
@@ -45,11 +44,8 @@ namespace AppleHills.Editor.CardSystem
|
||||
private bool _previewNeedsUpdate = true;
|
||||
|
||||
// Preview settings
|
||||
private float _previewZoom = 1.0f;
|
||||
private Vector2 _previewOffset = Vector2.zero;
|
||||
private bool _debugMode = false;
|
||||
private float _zoomMultiplier = 1.5f; // Default multiplier (no zoom)
|
||||
private const float DEFAULT_ZOOM = 1.5f; // Store default zoom as a constant
|
||||
private const float BASE_ORTHO_SIZE = 400.0f; // Increased from 0.8f to 8.0f for a much wider view
|
||||
|
||||
// PreviewRenderUtility for rendering the card in a hidden scene
|
||||
|
||||
Reference in New Issue
Block a user