docs.unity.cn
    Show / Hide Table of Contents

    Class LocalizationEditorEvents

    Common events sent out during interaction with the localization system through the Editor.

    Inheritance
    Object
    LocalizationEditorEvents
    Namespace: UnityEditor.Localization
    Syntax
    public class LocalizationEditorEvents

    Events

    AssetTableEntryAdded

    Event that is sent when new asset table entry is added.

    Declaration
    public event Action<AssetTableCollection, AssetTable, AssetTableEntry> AssetTableEntryAdded
    Event Type
    Type Description
    Action<AssetTableCollection, AssetTable, AssetTableEntry>

    AssetTableEntryRemoved

    Event that is sent when an asset table entry is removed from a table.

    Declaration
    public event Action<AssetTableCollection, AssetTable, AssetTableEntry, string> AssetTableEntryRemoved
    Event Type
    Type Description
    Action<AssetTableCollection, AssetTable, AssetTableEntry, String>

    CollectionAdded

    Event that is sent when a new table collection is added to the project.

    Declaration
    public event Action<LocalizationTableCollection> CollectionAdded
    Event Type
    Type Description
    Action<LocalizationTableCollection>

    CollectionModified

    Event that is sent when a table collection is modified.

    Declaration
    public event EventHandler<LocalizationTableCollection> CollectionModified
    Event Type
    Type Description
    EventHandler<LocalizationTableCollection>

    CollectionRemoved

    Event that is sent when a table collection is removed from the project.

    Declaration
    public event Action<LocalizationTableCollection> CollectionRemoved
    Event Type
    Type Description
    Action<LocalizationTableCollection>

    LocaleAdded

    Event that is sent when a new Locale is added to the project.

    Declaration
    public event Action<Locale> LocaleAdded
    Event Type
    Type Description
    Action<Locale>

    LocaleRemoved

    Event that is sent when a Locale is removed from the project.

    Declaration
    public event Action<Locale> LocaleRemoved
    Event Type
    Type Description
    Action<Locale>

    LocaleSortOrderChanged

    Event that is sent when the Locale sort order is changed.

    Declaration
    public event EventHandler<Locale> LocaleSortOrderChanged
    Event Type
    Type Description
    EventHandler<Locale>

    TableAddedToCollection

    Event that is sent when a table is added to a collection in the project.

    Declaration
    public event Action<LocalizationTableCollection, LocalizationTable> TableAddedToCollection
    Event Type
    Type Description
    Action<LocalizationTableCollection, LocalizationTable>

    TableEntryAdded

    Event that is sent when a new entry is added to a table.

    Declaration
    public event Action<LocalizationTableCollection, SharedTableData.SharedTableEntry> TableEntryAdded
    Event Type
    Type Description
    Action<LocalizationTableCollection, SharedTableData.SharedTableEntry>

    TableEntryModified

    Event that is sent when a table entry is modified.

    Declaration
    public event Action<SharedTableData.SharedTableEntry> TableEntryModified
    Event Type
    Type Description
    Action<SharedTableData.SharedTableEntry>

    TableEntryRemoved

    Event that is sent when an entry is removed from a a table.

    Declaration
    public event Action<LocalizationTableCollection, SharedTableData.SharedTableEntry> TableEntryRemoved
    Event Type
    Type Description
    Action<LocalizationTableCollection, SharedTableData.SharedTableEntry>

    TableRemovedFromCollection

    Event that is sent when a table is removed from a collection in the project.

    Declaration
    public event Action<LocalizationTableCollection, LocalizationTable> TableRemovedFromCollection
    Event Type
    Type Description
    Action<LocalizationTableCollection, LocalizationTable>
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Thursday, June 9, 2022
    Terms of use