COCOS-JS cannot use RemoveAllChildren, otherwise it will cause the touch priority when it is added again.

Solution:

1. Do not call removeAllChildren (not very good)

2. Before adding children again, put The parent element is not touchable: setTouchEnabled(false). After adding children, call: setTouchEnabled(true) again to solve the problem.

I have to say that cocos-js 3.6 has a lot of pitfalls.

====================== The above is wrong, I am looking for the reason============ =========

Solution:

1. Do not call removeAllChildren (looks not very good)

p>

2. Before adding children again, set the parent element to be non-touchable: setTouchEnabled(false). After adding children, call: setTouchEnabled(true) again to solve the problem.

I have to say that cocos-js 3.6 has a lot of pitfalls.

====================== The above is wrong, I am looking for the reason============ =========

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 3647 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.