请问sprite如何实现button的gray effect效果?

如题请问如何在creator中实现

xx.getComponent(cc.Button).interactable = false;使用内置shader置灰。
或者:
sprite._sgNode.setState(cc.Scale9Sprite.state.Gray);

好的 3q