Trying to make a Playmaker Action to close the browser window. Tried the following but it doesn’t work.
using System.Collections.Generic;
using UnityEngine;
namespace HutongGames.PlayMaker.Actions
{
[ActionCategory("InAppBrowser")]
[Tooltip("Close InAppBrowser Window")]
public class InAppBrowserClose : FsmStateAction
{
public override void Reset()
{
}
public override void OnEnter()
{
InAppBrowser.CloseBrowser();
Finish();
}
}
}