简体   繁体   中英

Disable actors in libgdx

After a series of transformations of my stage (fadout some stuff etc.) I have to disable several actors from catching any input. In swing I just would disable them but how can I disable an actor in libgdx for getting any touche input?

我想你可能正在寻找actor.setTouchable()。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM