using Godot; namespace Rokojori { [GlobalClass, Icon("res://addons/rokojori_action_library/Icons/RJOnEvent.svg") ] public partial class OnReady : Node { /** Actions to execute*/ [Export] public RJAction[] actions; /** Whether to execute RJAction child nodes*/ [Export] public bool triggerDirectChildren = true; public override void _Ready() { Actions.TriggerAll( actions, this, triggerDirectChildren ); } } }