You've already forked taptap2024_GJ_chidouren
init
This commit is contained in:
16
Assets/Scripts/System/Guide/GuideNode_Button.cs
Normal file
16
Assets/Scripts/System/Guide/GuideNode_Button.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using UnityEngine.UI;
|
||||
|
||||
namespace System.Guide
|
||||
{
|
||||
public class GuideNode_Button : GuideNode
|
||||
{
|
||||
public Button CompleteButton;
|
||||
protected override void OnInit ()
|
||||
{
|
||||
if (!ReferenceEquals(CompleteButton, default))
|
||||
{
|
||||
this.CompleteButton.onClick.AddListener (this.NextNode);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user