29 lines
749 B
C#
29 lines
749 B
C#
|
|
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)
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|