Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
const searchUserData = (object, key, value) => {
let match
object.traverse(obj => {
if (match) return
if (obj.userData[key] === value) {
match = obj
return
}
})
return match
}
module.exports = { searchUserData }
adb3231b3This file is pinned to the selected release. Download the original to open it in your design tool.