Closed thinhbuzz closed 10 months ago
for example:
const UTF8Encoding = Il2Cpp.corlib.class('System.Text.Encoding') .method<Il2Cpp.Object>('get_UTF8').invoke(); const data = Il2Cpp.string('Hello world'); console.log( UTF8Encoding.method<Il2Cpp.Array<number>>('GetBytes') .overload('System.String').invoke(data), ); // before commit: couldn't find overloaded method GetBytes(System.String) // after commit: [72,101,108,108,111,32,119,111,114,108,100]
Thanks!
for example: