add TextureResType to LoadingBar
Merge pull request #9439 from andyque/addcreateMethodToLoadingBar

add TextureResType to LoadingBar's create method