Hi,
I can set Texture by Frame Name
but how I can do it using index?
const atlasWheel = this.textures.get('wheels');
this.wheelFrames = atlasWheel.getFrameNames();
.....
this.wheelSprite.setTexture('wheel1', this.wheelFrames);
            Hi,
I can set Texture by Frame Name
but how I can do it using index?
const atlasWheel = this.textures.get('wheels');
this.wheelFrames = atlasWheel.getFrameNames();
.....
this.wheelSprite.setTexture('wheel1', this.wheelFrames);
            this.wheelSprite.setFrame(this.wheelFrames[i]);