-
Notifications
You must be signed in to change notification settings - Fork 2
Closed
Description
https://forum.unity.com/threads/pointer_stringify-is-not-defined-pass-string-to-js.701501/
unity1weekやっててたまたま見つけたので報告します。
代わりにUTF8ToStringを使えとのことなので、OpenWindow.jslibの中身を
mergeInto(LibraryManager.library, {
OpenWindow: function(urlPtr) {
var url = UTF8ToString(urlPtr);
var F = 0;
if (screen.height > 500) {
F = Math.round((screen.height / 2) - (250));
}
window.open(url,
'intent',
'left='+Math.round((screen.width/2)-(250))+',top='+F+
',width=500,height=260,personalbar=no,toolbar=no,resizable=no,scrollbars=yes');
}
});
に変更するとエラー消えました。
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels