You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After update ^0.7, when you click on a part of the avatar except the head, the avatars onClick event is not dispatched.
Example:
letshroom=Shroom.create({application: app,resourcePath: "./resources/flash"})letroom=Room.create(shroom,{tilemap: ` xxxxxxxxx x00000000 000000000 x00000000 xxxxxxxxx `,})letavatar=newAvatar({look: "hd-180-2.hr-100-61.ch-210-66.lg-270-81.sh-290-62",direction: 2,roomX: 1,roomY: 1,roomZ: 0,})avatar.onClick=()=>{console.log("Avatar clicked")}avatar.addAction(AvatarAction.Move)// remove this line and onClick works as expectedroom.addRoomObject(avatar)app.stage.addChild(room)
The text was updated successfully, but these errors were encountered:
After update ^0.7, when you click on a part of the avatar except the head, the avatars onClick event is not dispatched.
Example:
The text was updated successfully, but these errors were encountered: