'Am trying to get data from an atlas file
am trying to get data from an atlas file the way I do with json files but it's not working, please can I get help
const jsonFile=require("./Assets/AquaSpawn/Aqua_Spawn/aqua spawn all.json")
var bodyMagnitude = jsonFile.skins.default[fishBodyPart.replace(".png", "")][fishBodyPart.replace(".png", "")];
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|