fix
This commit is contained in:
parent
289bfc6111
commit
71a8b9ce30
@ -113,6 +113,15 @@ namespace UnityEngine.UI
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected void RefreshKeyValue()
|
||||||
|
{
|
||||||
|
if (allTableNames.TryGetValue(localizationID.intValue, out TableSelectionData data))
|
||||||
|
{
|
||||||
|
m_localizationKey.stringValue = data.CombineValue;
|
||||||
|
serializedObject.ApplyModifiedProperties();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
protected override void OnEnable()
|
protected override void OnEnable()
|
||||||
{
|
{
|
||||||
localizationID = serializedObject.FindProperty("m_localizationID");
|
localizationID = serializedObject.FindProperty("m_localizationID");
|
||||||
@ -120,7 +129,7 @@ namespace UnityEngine.UI
|
|||||||
|
|
||||||
RefreshAllTables();
|
RefreshAllTables();
|
||||||
FindSelectSelection();
|
FindSelectSelection();
|
||||||
|
RefreshKeyValue();
|
||||||
base.OnEnable();
|
base.OnEnable();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user