1
This commit is contained in:
27
Assets/Scripts/UI/StoryUI/TutorialBlockUI.cs
Normal file
27
Assets/Scripts/UI/StoryUI/TutorialBlockUI.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using TMPro;
|
||||
using UnityEngine;
|
||||
using UnityEngine.Serialization;
|
||||
using UnityEngine.UI;
|
||||
|
||||
namespace Ichni.Story.UI
|
||||
{
|
||||
public class TutorialBlockUI : StoryBlockUIBase
|
||||
{
|
||||
public string blockName;
|
||||
public Button button;
|
||||
public TMP_Text tutorialText;
|
||||
|
||||
public void Initialize(string blockName)
|
||||
{
|
||||
this.blockName = blockName;
|
||||
|
||||
tutorialText.text = "Tutorial";
|
||||
button.onClick.AddListener(() =>
|
||||
{
|
||||
// DialogManager.instance.SetDialog(blockName);
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user