StringUnityEvent Class

A type of UnityEvent that takes a single string parameter.

[Serializable]
public class StringUnityEvent : UnityEvent<string>, ISerializationCallbackReceiver

Remarks

A concrete subclass of UnityEvent is needed in order for Unity to serialise the type correctly.