pub fn load_unity_file_from_memory(
data: Vec<u8>,
) -> Result<UnityFile, BinaryError>Expand description
Parse a Unity binary file from memory, returning a tagged UnityFile enum.
Notes:
- The detection order is: bundle → serialized file → webfile.
- WebFile detection can involve decompression, so it is attempted last.