• Scripting API
Search Results for

    Show / Hide Table of Contents
    • JelleVer.Localisation
      • CSVLoader
      • LanguageSwitcher
      • LocalisationManager
      • TextLocaliser

    Class CSVLoader

    The loader class to parse a csv file. The localisation csv should be located @ "Assets/Resources/localisation.csv"

    Inheritance
    Object
    CSVLoader
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: JelleVer.Localisation
    Assembly: cs.temp.dll.dll
    Syntax
    public class CSVLoader

    Methods

    GetAllDictionaryValues()

    Gets all the languages and their key value pairs

    Declaration
    public Dictionary<string, string>[] GetAllDictionaryValues()
    Returns
    Type Description
    Dictionary<String, String>[]

    an array of dictionaries containing all the language pairs

    GetDictionaryValues(String)

    Parses the csv and gets the key value pair of a specified language

    Declaration
    public Dictionary<string, string> GetDictionaryValues(string attrbuteId)
    Parameters
    Type Name Description
    String attrbuteId

    The language id

    Returns
    Type Description
    Dictionary<String, String>

    a dictuinary containging the key value pairs

    LoadCSV()

    Loads the localisation csv into the class

    Declaration
    public void LoadCSV()
    In This Article
    Back to top Jelle Vermandere