/// <summary> /// 添加Slider滑动事件 /// </summary> /// <param name="uiName"></param> /// <param name="action"></param> protected void AddSliderListen(string uiName, UnityAction <float> action) { UIBehaviour uiBehaviour = GetBehaviour(uiName); uiBehaviour.AddSliderListen(action); }