IndieGame/client/Assets/ParadoxNotion/NodeCanvas/_DeprecatedFiles/Legacy_EventReceiverAttribute.cs
DOBEST\zhaoyingjie f242607587 初始化工程
2024-10-11 10:12:15 +08:00

13 lines
577 B
C#

namespace NodeCanvas.Framework
{
[System.AttributeUsage(System.AttributeTargets.Class)]
[System.Obsolete("[EventReceiver] is no longer used. Please use the '.router' property to subscribe/unsubscribe to events (in OnExecute/OnStop for actions and OnEnable/OnDisable for conditions). For custom events, use '.router.onCustomEvent'.")]
public class EventReceiverAttribute : System.Attribute
{
readonly public string[] eventMessages;
public EventReceiverAttribute(params string[] args) {
this.eventMessages = args;
}
}
}