New version for AnimateTiledConfig script. Refactored out some code and added attribute name.
Method for gather the game object's transform which contains the background and foreground objects. Done for centralize code