Editor.Source_Files.Views.EntityEditorView.setEntityType C# (CSharp) Method

setEntityType() private method

private setEntityType ( string entityType ) : void
entityType string
return void
        internal void setEntityType(string entityType)
        {
            // This entity is managed by a type!
            typeName = entityType;

            //Show the fields in the editor
            typeLabel.Visible = true;
            typeTextBox.Visible = true;

            if (typeName == "")
            {
                typeTextBox.Text = "!No type!";
            }
            else
            {
                typeTextBox.Text = typeName;
            }
        }