You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

13 lines
489 B

mergeInto(LibraryManager.library, {
focusHandleAction: function(_name, _str){
if(UnityLoader.SystemInfo.mobile == true){
var _inputTextData = prompt("", Pointer_stringify(_str));
if (_inputTextData == null || _inputTextData == "") {
//canceled text
} else {
//send data to unity
SendMessage(Pointer_stringify(_name), 'ReceiveInputData', _inputTextData);
}
}
},
});