public static string SelectScript(FrmEffectEditor owner)
        {
            FrmSelectItem frmSelectItem = new FrmSelectItem();

            frmSelectItem.SelectionType = SelectionType.Script;
            frmSelectItem.lblTitle.Text = "Script:";
            if (frmSelectItem.ShowDialog(owner) == DialogResult.OK)
            {
                return(frmSelectItem.lstItems.SelectedItem as string);
            }
            return(null);
        }
        public static string SelectPrefab(Control owner)
        {
            FrmSelectItem frmSelectItem = new FrmSelectItem();

            frmSelectItem.SelectionType = SelectionType.Prefabs;
            frmSelectItem.lblTitle.Text = "Prefab:";
            if (frmSelectItem.ShowDialog(owner) == DialogResult.OK)
            {
                return(frmSelectItem.lstItems.SelectedItem as string);
            }
            return(null);
        }
        public static string SelectGameObject(Control owner)
        {
            Talespire.GameObjects.InvalidateFound();
            FrmSelectItem frmSelectItem = new FrmSelectItem();

            frmSelectItem.SelectionType = SelectionType.ExistingGameObjects;
            frmSelectItem.lblTitle.Text = "Game Object:";
            if (frmSelectItem.ShowDialog(owner) == DialogResult.OK)
            {
                return(frmSelectItem.lstItems.SelectedItem as string);
            }
            return(null);
        }
        public static CreatureBoardAsset SelectMini(FrmEffectEditor owner)
        {
            FrmSelectItem frmSelectItem = new FrmSelectItem();

            frmSelectItem.SelectionType = SelectionType.Minis;
            frmSelectItem.lblTitle.Text = "Mini:";
            if (frmSelectItem.ShowDialog(owner) == DialogResult.OK)
            {
                string selectedCreatureNameAndId = frmSelectItem.lstItems.SelectedItem as string;
                return(Talespire.Minis.GetCreatureBoardAsset(selectedCreatureNameAndId));
            }
            return(null);
        }