Question by
Adlaran · Apr 22, 2020 at 03:29 PM ·
unityeditorscriptableobjectlocalization
How to attach Localization to ScriptableObject?
I am trying to use Localization package https://docs.unity3d.com/Packages/com.unity.localization@0.6/manual/
I want to attach localization string to my ScriptableObject I am using to store static objects. For example
[CreateAssetMenu(fileName = "New Item", menuName = "Static/Item")]
public class Item: ScriptableObject
{
public int id;
public string title;
...
}
I want to attach localized strings to Item.title to make its values pickable from Assets Table of Localization package in UnityEditor. What I need to do to set up this behavior?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612232151im_/https://answers.unity.com/themes/thub/images/avi.jpg)