using ShadowStudio.Tool; using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using XRTool.Util; using XRTool.WorldUI; namespace ShadowStudio.UI { [RequireComponent(typeof(WorldDlg))] public class PaintBrushDlg : UnitySingleton { private Transform paintBrushGroupTran; private ToggleGroup paintBrushGroup; private ColorPaletteDlg colorPaletteDlg; private Button showColor; public Transform ShowColorBack; private Slider brushSlider; // Start is called before the first frame update void Start() { WorldDlg dlg = GetComponent(); paintBrushGroupTran = dlg.GetBreadthChild("PaintBrushGroup"); paintBrushGroup = dlg.GetBreadthChild("PaintBrushGroup"); showColor = dlg.GetBreadthChild