Ejemplo n.º 1
0
        private void AccessoryAdd_Click(object sender, EventArgs e)
        {
            var accessory = AccessoryList.SelectedItem as string;

            if (accessory != null)
            {
                Animator.AddAccessory(accessory);
            }
        }
Ejemplo n.º 2
0
        private void MeshImportBox_SelectedIndexChanged(object sender, EventArgs e)
        {
            UnbindRuntimeMesh();
            var items = MeshImportBox.SelectedItems.Cast <AvatarToolRuntimeMesh>();

            foreach (var item in items)
            {
                Animator.AddAccessory(item.Name);
                BoundRuntimeMeshes.Add(item);
            }
            if (items.Count() > 0)
            {
                ImportMeshButton.Enabled = true;
            }
        }