Hello everyone,
I am trying to get a reference to a script in my assetsdirectory from the inspector.
NOT a already instanced script component in the scene!
What I tried was using the Object type as a SerializeField.
[SerializeField]
Object checkable;
This was the result:
However this is too much of a choice for users and I need the selection window to only filter certain scripts that inherit from either a MonoBehaviour script or best would be from an Interface.
It definitley should exclude Folders, Materials, Meshes etc…
In the end it should look like this: