Getting Scriptable objects path

I assigned to an object a scriptable object, is there a way for me to get the path of that scriptable object?

Inside the Editor only you can use this:

In a built project there are no paths so you need the usual ways of referring to assets as all other Unity stuff uses.

2 Likes

I got it thanks!