Is there a way to add another slot for a script in the Inspector?

If I wanted a script to reference different scripts depending on the instance of the object it’s used in how would I do that?

Is there a way to make it work like the way a Public.GameObject works inside of the inspector?

Accessing other gameObjects:

Accessing other components: