🔘모바일버튼 이미지 변경하기
let button_image = App.loadSpritesheet("button_image.png");
let button;
App.onStart.Add(function () {
// button 추가
button = App.addMobileButton(8, 145, 75, function (player) {
App.sayToAll(`${player.name}, 님이 버튼을 눌렀습니다.`)
});
button.image = button_image;
button.sendUpdated();
});

Last updated
Was this helpful?