NGUI中button与button中的物体一起变换颜色

1.首先创建UGUI中的sprite组件,在给sprite添加一个Lable组件 2.给sprite,添加Box Collider ,UI Button代码 3.再给sprite组件添加一个UI Button 代码,把Tween Target设为Lable组件,就完成了
相关文章
相关标签/搜索