So I want to make a plugin that lets you add and switch between frames of a TiledBackground just like a Sprite.
I was hoping this would just be a matter of copy-pasting & tweaking some stuff from Sprite->TiledBackground, but I can't actually seem to find anything in Sprite that tells it to bring up the animation editor and store multiple textures.
It looks like both Sprite and TiledBackground call the same function, yet with different results:
this.instance.EditTexture();
Is there some behind the scenes trickery going on?
My goal is to let players customize the wallpapers on the walls of their in-game shop, which is a TiledBackground. Creating ~20 TiledBackground objects and then using some huge if-chain to spawn/destroy whichever one they select sounds really clumsy. So I thought a more elegant solution would be to add multiple frames to a TiledBackground.
Thoughts?