using NodeCanvas.Framework; using ParadoxNotion.Design; using System.Collections; using System.Collections.Generic; using UnityEngine; namespace Ether { [Category("扩展/设置玩家按键输入操作")] [Description("设置玩家按键输入操作")] [Name("设置玩家按键输入操作")] public class SetPlayerInputOperation : ActionTask { public BBParameter isEnabled; protected override string info { get { return $"玩家按键输入:{isEnabled}"; } } protected override void OnExecute() { GlobalController.SetPlayerInputOperation(isEnabled.value); } } }