OCL.

GetLocalization(object) Method

Summary

Generic version of GetLocalization. Returns localization for id and current language. Supported types are : - string - Texture - Sprite - AudioClip Returns null if id has no localization for current language or id's type is not supported.
Namespace
OneClickLocalization
Containing Type
OCL

Syntax

public static object GetLocalization(object id)

Parameters

Name Type Description
id object

Return Value

Type Description
object Translated version of id, null if no localization found or type of id not supported