public override void Execute(Duality.GameObject inSource, object inParameter) { inSource.FindAncestorWithComponent <Widget>().GetComponent <Widget>().Close(); }
public override void Execute(Duality.GameObject inSource, object inParameter) { inSource.FindAncestorWithComponent <Widget>().GetComponent <Widget>().Close(); Scene.Current.FindComponent <WidgetController>().SetDialogWindow(null); }