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

    Interface ITranslationUnitCollection

    Holds a collection of ITranslationUnit.

    Namespace: UnityEditor.Localization.Plugins.XLIFF.Common
    Syntax
    public interface ITranslationUnitCollection

    Properties

    TranslationUnitCount

    The number of translation units in the collection.

    Declaration
    int TranslationUnitCount { get; }
    Property Value
    Type Description
    Int32

    Methods

    AddNewTranslationUnit()

    Adds a new translation unit to the collection and returns it.

    Declaration
    ITranslationUnit AddNewTranslationUnit()
    Returns
    Type Description
    ITranslationUnit

    The newly created translation unit.

    AddTranslationUnit(ITranslationUnit)

    Adds the translation unit to the collection.

    Declaration
    void AddTranslationUnit(ITranslationUnit tu)
    Parameters
    Type Name Description
    ITranslationUnit tu

    The translation unit to add to the collection.

    GetTranslationUnit(Int32)

    Returns the translation unit for the selected index.

    Declaration
    ITranslationUnit GetTranslationUnit(int index)
    Parameters
    Type Name Description
    Int32 index

    The index of the translation unit to return.

    Returns
    Type Description
    ITranslationUnit

    The translation unit or null if one does not exist for the selected index.

    RemoveTranslationUnit(ITranslationUnit)

    Removes the translation unit from the collection.

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