stash work

This commit is contained in:
Michal Pikulski
2025-11-26 17:11:02 +01:00
committed by Michal Pikulski
parent 8d410b42d3
commit 5bab6d9596
38 changed files with 3634 additions and 308 deletions

View File

@@ -0,0 +1,28 @@
using UI.Core;
namespace Minigames.StatueDressup.UI
{
/// <summary>
/// UIPage wrapper for the photo gallery.
/// Simple stock page with no transition animations.
/// </summary>
public class PhotoGalleryPage : UIPage
{
protected override void DoTransitionIn(System.Action onComplete)
{
// Instant transition - just show
gameObject.SetActive(true);
onComplete?.Invoke();
}
protected override void DoTransitionOut(System.Action onComplete)
{
// Instant transition - just hide
gameObject.SetActive(false);
onComplete?.Invoke();
}
// OnBackPressed uses default behavior (pops the page)
}
}

View File

@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 3136a7edf8de421e9860c6bd4e1dca10
timeCreated: 1764151460

View File

@@ -0,0 +1,32 @@
using UI.Core;
namespace Minigames.StatueDressup.UI
{
/// <summary>
/// UIPage wrapper for the statue decoration play area.
/// Simple stock page with no transition animations.
/// </summary>
public class PlayAreaPage : UIPage
{
protected override void DoTransitionIn(System.Action onComplete)
{
// Instant transition - just show
gameObject.SetActive(true);
onComplete?.Invoke();
}
protected override void DoTransitionOut(System.Action onComplete)
{
// Instant transition - just hide
gameObject.SetActive(false);
onComplete?.Invoke();
}
public override void OnBackPressed()
{
// Play area is the root page - don't allow back navigation
// Override if you want custom behavior (e.g., quit minigame)
}
}
}

View File

@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: edd2867b8a4f42d8af202f215c3ecc47
timeCreated: 1764151454