docs.unity3d.com
    目次を表示する/隠す

    Namespace UnityEngine.Localization.Components

    Classes

    LocalizeAudioClipEvent

    Component that can be used to Localize an AudioClip asset. Provides an update event OnUpdateAsset that can be used to automatically update the clip whenever the SelectedLocale or AssetReference changes.

    LocalizedAssetBehaviour<TObject, TReference>

    Abstract class that can be inherited from to create a general purpose Localized Asset Component. This Component handles the Localization of the asset and calls UpdateAsset(TObject) whenever a new Localized Asset is ready.

    LocalizedAssetEvent<TObject, TReference, TEvent>

    A version of LocalizedAssetBehaviour<TObject, TReference> which also includes a UnityEvent with the localized asset. Using the OnUpdateAsset event it is possible to Localize Components without writing scripts specific to the Component that can be configured in the Inspector.

    LocalizedGameObjectEvent

    Component that can be used to Localize a Prefab. When the Locale is changed the prefab will be instantiated as a child of the gameobject this component is attached to, the instance will then be sent through OnUpdateAsset.

    LocalizedMonoBehaviour

    Provides Editor support for Localization.

    LocalizeSpriteEvent

    Component that can be used to Localize a Sprite asset. Provides an update event OnUpdateAsset that can be used to automatically update the Sprite whenever the SelectedLocale or AssetReference changes.

    LocalizeStringEvent

    Component that can be used to Localize a string. Provides an update event UpdateString(String) that can be used to automatically update the string when the SelectedLocale or StringReference changes. Allows for configuring optional arguments that will be used by Smart Format or String.Format.

    LocalizeTextureEvent

    Component that can be used to Localize a Texture asset. Provides an update event OnUpdateAsset that can be used to automatically update the Texture whenever the SelectedLocale or AssetReference changes.

    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)