Unity Study Notes-2048-Click on the blank space to exit the interface

1. Add the event component EventTrigge to the interface

2. Drag the interface you want to hide into PointerClick

3.Set the method to Hide

Guess you like

Origin blog.csdn.net/weixin_42647625/article/details/117751134