add TextureResType to LoadingBar
Merge pull request #9501 from joewan/v3-fix-mismatch

V3 fix uninitialized members.
Merge pull request #9439 from andyque/addcreateMethodToLoadingBar

add TextureResType to LoadingBar's create method