Created a StringEvent in my class in the following manner
public class StringEvent: UnityEvent()
Upon calling the event