LabelSlotControlView.cs 321 B

123456789101112131415
  1. using System;
  2. using UnityEngine;
  3. using UnityEngine.UIElements;
  4. namespace UnityEditor.ShaderGraph.Drawing.Slots
  5. {
  6. class LabelSlotControlView : VisualElement
  7. {
  8. public LabelSlotControlView(string label)
  9. {
  10. var labelField = new Label(label);
  11. Add(labelField);
  12. }
  13. }
  14. }