Show / Hide Table of Contents

Class LanguageTable

A table thats used for storing translations.

Inheritance
object
Object
ScriptableObject
LanguageTable
Implements
ISerializationCallbackReceiver
Inherited Members
ScriptableObject.SetDirty()
ScriptableObject.CreateInstance(string)
ScriptableObject.CreateInstance(Type)
ScriptableObject.CreateInstance<T>()
Namespace: WeaverCore.Features
Assembly: WeaverCore.dll
Syntax
[CreateAssetMenu(fileName = "LanguageTable", menuName = "WeaverCore/Language Table")]
public class LanguageTable : ScriptableObject, ISerializationCallbackReceiver

Properties

| Edit this page View Source

Language

Declaration
public SupportedLanguages Language { get; }
Property Value
Type Description
SupportedLanguages
| Edit this page View Source

SheetTitle

Declaration
public string SheetTitle { get; }
Property Value
Type Description
string

Methods

| Edit this page View Source

GetString(string, string)

Gets a language string based on a key

Declaration
public string GetString(string key, string fallback = null)
Parameters
Type Name Description
string key
string fallback
Returns
Type Description
string
| Edit this page View Source

HasString(string)

Does this language table have the specified key

Declaration
public bool HasString(string key)
Parameters
Type Name Description
string key

The key to check for

Returns
Type Description
bool

Implements

UnityEngine.ISerializationCallbackReceiver

Extension Methods

ReflectionUtilities.ReflectCallMethod(object, string, object[], BindingFlags)
ReflectionUtilities.ReflectGetField(object, string, BindingFlags)
ReflectionUtilities.ReflectGetMethod(object, string, BindingFlags)
ReflectionUtilities.ReflectGetProperty(object, string, BindingFlags)
ReflectionUtilities.ReflectSetField(object, string, object, BindingFlags)
ReflectionUtilities.ReflectSetProperty(object, string, object, BindingFlags)
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Generated by DocFX
☀
☾