现在的位置: 首页 > 综合 > 正文

remove entiy 注意点

2013年10月06日 ⁄ 综合 ⁄ 共 328字 ⁄ 字号 评论关闭

Removing entities can only be done safely on the UpdateThread.
   * Doing it while updating/drawing can
   * cause an exception with a suddenly missing entity.
   * Alternatively, there is a possibility to run the TouchEvents on the UpdateThread by default, by doing:
   * engineOptions.getTouchOptions().setRunOnUpdateThread(true);
   * when creating the Engine in onLoadEngine(); */

抱歉!评论已关闭.