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.
Source
Defined in Unity/Assets/YarnSpinner/Scripts/DialogueRunner.cs, line 104.