Пример #1
0
        private void applyButton_Click(object sender, EventArgs e)
        {
            if (materialPreview.Material == null)
            {
                materialPreview.Material = Material.floor["Empty"];
                nameLabel.Text           = "Empty";
            }

            Selector.ApplyFloorMaterial(materialPreview.Material.Name);
        }