public override void OnEnable() { base.OnEnable (); state = node as State; actionEditor = new ActionEditor (state, this); actionEditor.OnEnable (); }