UnityLocalisedLineProvider

Class in Yarn.Unity.UnityLocalization

Inherits from LineProviderBehaviour

Summary

A line provider that uses the Unity Localization system to get localized content for Yarn lines.

public class UnityLocalisedLineProvider : LineProviderBehaviour

Methods

Name
Description

Removes all marker processors that handle markers named attributeName .

Prepares and returns a LocalizedLine from the specified Line .

Signals to the line provider that lines with the provided line IDs may be presented shortly.

Adds a new marker processor to the line provider.

Called by Unity when the LineProviderBehaviour has first appeared in the scene.

Properties

Name
Description

Gets the user's current locale identifier, as a BCP-47 code.

Last updated

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