Search Results for

    Show / Hide Table of Contents

    Class LocalizationExtensions

    Inheritance
    object
    LocalizationExtensions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit.Sheets
    Assembly: Glitch9.AIDevKit.Sheets.dll
    Syntax
    public static class LocalizationExtensions

    Methods

    | Edit this page View Source

    InstantiateLocalizedPrefab(Transform, string, string, bool, Action<GameObject>, LocalizationOptions<GameObject>)

    Declaration
    public static void InstantiateLocalizedPrefab(this Transform parent, string key, string table = null, bool worldPositionStays = false, Action<GameObject> onCreated = null, LocalizationOptions<GameObject> options = default)
    Parameters
    Type Name Description
    Transform parent
    string key
    string table
    bool worldPositionStays
    Action<GameObject> onCreated
    LocalizationOptions<GameObject> options
    | Edit this page View Source

    SetLocalizedAsset<TComponent, TObject>(TComponent, string, Action<TComponent, TObject>, string, LocalizationOptions<TObject>)

    Declaration
    public static void SetLocalizedAsset<TComponent, TObject>(this TComponent component, string key, Action<TComponent, TObject> apply, string table = null, LocalizationOptions<TObject> options = default) where TComponent : Component where TObject : Object
    Parameters
    Type Name Description
    TComponent component
    string key
    Action<TComponent, TObject> apply
    string table
    LocalizationOptions<TObject> options
    Type Parameters
    Name Description
    TComponent
    TObject
    | Edit this page View Source

    SetLocalizedAudioClip(AudioSource, string, string, LocalizationOptions<AudioClip>)

    Declaration
    public static void SetLocalizedAudioClip(this AudioSource audioSource, string key, string table = null, LocalizationOptions<AudioClip> options = default)
    Parameters
    Type Name Description
    AudioSource audioSource
    string key
    string table
    LocalizationOptions<AudioClip> options
    | Edit this page View Source

    SetLocalizedMainTexture(Material, string, string, LocalizationOptions<Texture>)

    Declaration
    public static void SetLocalizedMainTexture(this Material material, string key, string table = null, LocalizationOptions<Texture> options = default)
    Parameters
    Type Name Description
    Material material
    string key
    string table
    LocalizationOptions<Texture> options
    | Edit this page View Source

    SetLocalizedMaterial(Image, string, string, LocalizationOptions<Material>)

    Declaration
    public static void SetLocalizedMaterial(this Image image, string key, string table = null, LocalizationOptions<Material> options = default)
    Parameters
    Type Name Description
    Image image
    string key
    string table
    LocalizationOptions<Material> options
    | Edit this page View Source

    SetLocalizedSprite(SpriteRenderer, string, string, LocalizationOptions<Sprite>)

    Declaration
    public static void SetLocalizedSprite(this SpriteRenderer spriteRenderer, string key, string table = null, LocalizationOptions<Sprite> options = default)
    Parameters
    Type Name Description
    SpriteRenderer spriteRenderer
    string key
    string table
    LocalizationOptions<Sprite> options
    | Edit this page View Source

    SetLocalizedSprite(Image, string, string, LocalizationOptions<Sprite>)

    Declaration
    public static void SetLocalizedSprite(this Image image, string key, string table = null, LocalizationOptions<Sprite> options = default)
    Parameters
    Type Name Description
    Image image
    string key
    string table
    LocalizationOptions<Sprite> options
    | Edit this page View Source

    SetLocalizedTexture(RawImage, string, string, LocalizationOptions<Texture>)

    Declaration
    public static void SetLocalizedTexture(this RawImage rawImage, string key, string table = null, LocalizationOptions<Texture> options = default)
    Parameters
    Type Name Description
    RawImage rawImage
    string key
    string table
    LocalizationOptions<Texture> options
    | Edit this page View Source

    SetLocalizedTexture2D(Image, string, string, LocalizationOptions<Texture2D>)

    Declaration
    public static void SetLocalizedTexture2D(this Image image, string key, string table = null, LocalizationOptions<Texture2D> options = default)
    Parameters
    Type Name Description
    Image image
    string key
    string table
    LocalizationOptions<Texture2D> options
    | Edit this page View Source

    SetLocalizedTexture2D(RawImage, string, string, LocalizationOptions<Texture2D>)

    Declaration
    public static void SetLocalizedTexture2D(this RawImage rawImage, string key, string table = null, LocalizationOptions<Texture2D> options = default)
    Parameters
    Type Name Description
    RawImage rawImage
    string key
    string table
    LocalizationOptions<Texture2D> options
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation