28 lines
671 B
C#
28 lines
671 B
C#
![]() |
using System.Collections;
|
||
|
using System.Collections.Generic;
|
||
|
using System.Data.Common;
|
||
|
using BITKit;
|
||
|
using BITKit.UX;
|
||
|
using Cysharp.Threading.Tasks;
|
||
|
using Microsoft.Extensions.DependencyInjection;
|
||
|
using Microsoft.Extensions.Logging;
|
||
|
using NodeCanvas.Framework;
|
||
|
using Project.B.Map;
|
||
|
using UnityEngine;
|
||
|
|
||
|
namespace Net.Project.B.NodeCanvas
|
||
|
{
|
||
|
public class DialogBoxNode : ActionTask
|
||
|
{
|
||
|
[SerializeField] public BBParameter<string> content;
|
||
|
[SerializeField] public BBParameter<string> title;
|
||
|
|
||
|
protected override void OnExecute()
|
||
|
{
|
||
|
UXAlert.Singleton.Show(content.value, title.value);
|
||
|
EndAction();
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|