Does Unity2018 support memory profile by program?

I wanna analyse mems of categories of assets( texture、mesh and more) by program.
I know unity 2020 could make this ( by ProfilerRecorder class), but is it possible in Unity 2018?

Any solutions? ( better attach some code)

Thank you.

Only the 0.2 version or older might work

What does “0.2 version” mean?
And “older” ?
I’m new to this area, more details would be appreciated.

If you look at the changelog or versions you see which version supports which unity version. It might show up if you enable preview packages or maybe add it manually via the packages.manifest file

See this

Well, I’m not needing a package in editor, I need “CS Code”(API) to analyse mems programmatically.

for example, the api would tell me how much size are textures/meshes …

Unity2020.2 provides class ProfilerRecorder to do this, but what does unity2018 provide?

I am not sure about that, maybe you can use code from the package in order to get it to work