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