engine
engine copied to clipboard
Support Load Resource by Relative Path
Current scene file:
{
"id": "d49f39c2-f37d-44ec-95d9-a865ec2ad294",
"type": "material",
"virtualPath": "/Assets/Mat0",
"path": "https://gw.alipayobjects.com/os/OasisHub/4b670d46-f5d2-4c6f-a324-4c1b844cedd6/oasis-file/1661766623409/Mat0.json"
}
Use virtualPath
replace id
in scene file.