New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to fill an array with data? #13
Comments
use |
this will work if I need to create an array like this? |
to add such data, need to use il2cpp_value_box. Can you add this to your code please? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
const auto assembly = UnityResolve::Get("assembly.dll | 程序集名称.dll");
const auto pClass = assembly->Get("className | 类名称");
const auto array = UnityResolve::UnityType::Array::New(pClass, size);
std::vector cppVector = array.ToVector();
how to fill an array with int, float, string, object, etc. values?
The text was updated successfully, but these errors were encountered: