How to import an object using Unity Editor Script

Hello Guys,

I am kind of new to editor scripting in unity. I am trying to make an editor window to import objects and set some values through it. I tried to make Label, texts and all UI related stuff with bunch of tutorials, but i couldn’t find a relevant one for importing assets.

Basically," I want to import the objects and load/save it in specified project folder and access its properties through Editor Window."

Any help is Appreciated. Thanks in Advance.

If you copy the files into a (sub)folder in Assets/, won’t Unity automatically import them?

Thanks for response!
I hope it should but, can you provide any samples or reference to copy 3d objects using code.?

Not entirely sure what you mean by your question. Do you mean assets outside of Unity?

There is OpenFilePanel but I’m not sure it’s equipped to handle files outside of a project’s folder.