About texture2D

Hi everyone, i am new at game development, my art talent is too bad, so i want to practice programing game with textures of other game. When i extracted some textures i get that .png file. I want to ask that how i use this .png file into my game. Thanks

This is a UV-mapped texture, it’s designed for one corresponding 3D mesh.
You need to import that 3D asset character with the proper UV info, assign this texture to a new material and apply that material to your mesh’s renderer.