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