@@ -30,6 +30,8 @@ public partial class HsvDrawer
|
||||
public bool isEmission = false;
|
||||
public GameObject emissionObj;
|
||||
public InputField emissionInput;
|
||||
|
||||
public DynamicUIBaseColorPicker baseColorPicker;
|
||||
void Start()
|
||||
{
|
||||
_rectTransform = _rawImage.GetComponent<RectTransform>(); // 初始化
|
||||
@@ -203,6 +205,11 @@ public partial class HsvDrawer
|
||||
{
|
||||
previewImage.color = currentColor;
|
||||
}
|
||||
if (baseColorPicker != null)
|
||||
{
|
||||
// 同步到BaseColorPicker
|
||||
baseColorPicker.SliderChangeWithoutNofication(currentColor);
|
||||
}
|
||||
ApplyParameters();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user