fix using old api
fix using old api

playcanvas/engine,MicroWorldwide/PlayCanvas,guycalledfrank/engine,sereepap2029/playcanvas,H1Gdev/engine,aidinabedi/playcanvas-engine,sereepap2029/playcanvas,playcanvas/engine,H1Gdev/engine,guycalledfrank/engine,sereepap2029/playcanvas,aidinabedi/playcanvas-engine,MicroWorldwide/PlayCanvas