25 lines
589 B
C#
25 lines
589 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using NodeCanvas.Tasks;
|
|
using NodeCanvas.Framework;
|
|
using BITKit.SubSystems;
|
|
using BITKit.SubSystems.Quest;
|
|
using BITKit.UX;
|
|
namespace BITKit
|
|
{
|
|
public class AlertNode : ActionTask
|
|
{
|
|
public BBParameter<string> title;
|
|
public BBParameter<string> message;
|
|
protected override void OnExecute()
|
|
{
|
|
Alert.Print(new()
|
|
{
|
|
title = title.value,
|
|
message = message.value,
|
|
});
|
|
EndAction();
|
|
}
|
|
}
|
|
} |