This site is for Yarn Spinner v1, and won't be updated. Go to the current site.

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.