1
This commit is contained in:
25
Unity/Extensions/NodeCanvas/AlertNode.cs
Normal file
25
Unity/Extensions/NodeCanvas/AlertNode.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
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();
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user