How to use this assetdatabase.LoadAssetAtPath()

Hi I want to load an texture into my material maintexture. just like I drag it to it.
I use this function but it 's always said Texture is not a system.type type Type. I am puzzled,
LoadAssetAtPath (“asset/model/texture/abc.jpg”,Texture);

I use 2.5.0 win

dunno what script language you use but if you use C# you should use: “typeof(Texture)” instead of just “Texture”

//perlohmann

1 Like

I got it , I see my mistake here.
thankyou very much!