示例#1
0
 /// <summary>
 /// Returns the item glow behaviour.
 /// </summary>
 /// <returns>Item Glow Behaviour</returns>
 public ItemGlow GetItemGlow()
 {
     if (this.itemGlow == null)
     {
         this.itemGlow = GetComponentInChildren <ItemGlow> ();
     }
     return(this.itemGlow);
 }
示例#2
0
        private void itemModelzToolStripMenuItem_Click(object sender, EventArgs e)
        {
            string fpath = OpenDialogZ();

            if (string.IsNullOrEmpty(fpath))
            {
                return;
            }

            ItemGlow Decoder = new ItemGlow(fpath, BmdFile.FileType.ItemGlow);
            //ClientEditor editor = new ClientEditor(Decoder, true);
            ItemGlowEditor editor = new ItemGlowEditor(Decoder);

            editor.Show();
        }