New card UI, new visual config, new card definitions, new working editor window for authoring!

This commit is contained in:
Michal Pikulski
2025-11-05 23:50:15 +01:00
parent 0dc3f3e803
commit 50c0a12391
65 changed files with 2784 additions and 12389 deletions

View File

@@ -1,4 +1,5 @@
using UnityEngine;
/*
using UnityEngine;
using AppleHills.Data.CardSystem;
using System.Collections.Generic;
using UnityEditor;
@@ -15,8 +16,8 @@ namespace AppleHills.Tests
/// </summary>
public class CardSystemTester : MonoBehaviour
{
[Header("References")]
[SerializeField] private CardAlbumUI cardAlbumUI;
// [Header("References")]
[SerializeField] private GameObject cardAlbumUI;
[Header("Test Settings")]
[SerializeField] [Range(1, 10)] private int boosterPacksToAdd = 3;
@@ -30,13 +31,13 @@ namespace AppleHills.Tests
private void Awake()
{
// Auto-find references if needed
if (cardAlbumUI == null)
cardAlbumUI = FindAnyObjectByType<CardAlbumUI>();
// Log missing references
if (cardAlbumUI == null)
Debug.LogError("CardSystemTester: No CardAlbumUI found in the scene!");
// // Auto-find references if needed
// if (cardAlbumUI == null)
// cardAlbumUI = FindAnyObjectByType<CardAlbumUI>();
//
// // Log missing references
// if (cardAlbumUI == null)
// Debug.LogError("CardSystemTester: No CardAlbumUI found in the scene!");
}
private void Start()
@@ -249,3 +250,4 @@ public class ReadOnlyDrawer : PropertyDrawer
}
}
#endif
*/