1
This commit is contained in:
24
Assets/Scripts/UI/StartPage/StartUIPage.cs
Normal file
24
Assets/Scripts/UI/StartPage/StartUIPage.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Ichni.UI
|
||||
{
|
||||
public class StartUIPage : UIPageBase
|
||||
{
|
||||
public AudioContainer audioContainer;
|
||||
|
||||
private void Awake()
|
||||
{
|
||||
audioContainer = GetComponent<AudioContainer>();
|
||||
}
|
||||
|
||||
public void TouchToStart()
|
||||
{
|
||||
audioContainer.PlaySoundFX("TouchToStart");
|
||||
FadeOut();
|
||||
ChapterSelectionManager.instance.chapterSelectionUIPage.FadeIn();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user