StringUnityEvent

Class in DialogueRunner

Inherits from UnityEngine.Events.UnityEvent1`

Summary

A type of UnityEngine.Events.UnityEvent that takes a single string parameter.

public class StringUnityEvent : UnityEvent<string>

Remarks

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

Yarn Spinner® and Secret Lab® are trade marks of Secret Lab Pty. Ltd., and are used by Yarn Spinner Pty. Ltd. under license.