Calling an Instance from event without adding an Gameobject in Events

I am trying to call an instance in Unity Events in a prefab. I can’t assign a Script to a prefab from inspector.