New card UI, new visual config, new card definitions, new working editor window for authoring!
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user