Slotting cards in album after revealing
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using AppleHills.Data.CardSystem;
|
||||
using BookCurlPro;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
@@ -18,6 +19,7 @@ namespace UI.CardSystem
|
||||
|
||||
[Header("Tab Configuration")]
|
||||
[SerializeField] private int targetPage;
|
||||
[SerializeField] private CardZone zone;
|
||||
|
||||
[Header("Visual Settings")]
|
||||
[SerializeField] private bool enableScaling = true;
|
||||
@@ -31,6 +33,10 @@ namespace UI.CardSystem
|
||||
|
||||
// Static dispatcher for coordinating all tabs
|
||||
private static event Action<BookTabButton> OnTabClicked;
|
||||
|
||||
// Public properties to access this tab's configuration
|
||||
public CardZone Zone => zone;
|
||||
public int TargetPage => targetPage;
|
||||
|
||||
private void Awake()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user