SHA256
Normalize Comment Terminology
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
0fc01a84de
commit
961f78a332
25 files changed
+70
-70
No files matched your search
+2
-2
@@ -12,7 +12,7 @@ namespace ADOFAIRenderer.UI;
|
||||
/// The text is set when the binding is made (<see cref="Bind(TextMeshProUGUI, string)"/>), when the component is enabled,
|
||||
/// and on every <see cref="LocalizationManager.OnLanguageChanged"/> event. A key and a dynamic provider are mutually
|
||||
/// exclusive: setting one clears the other. With neither set, <see cref="Refresh"/> leaves the text unchanged.
|
||||
/// Runs on the Unity main thread.
|
||||
/// Runs on the main Unity thread.
|
||||
/// </para>
|
||||
/// </summary>
|
||||
internal class LocalizedText : MonoBehaviour
|
||||
@@ -44,7 +44,7 @@ internal class LocalizedText : MonoBehaviour
|
||||
/// The provider is called on every refresh (enable and language change), so it can combine several keys or
|
||||
/// runtime values, e.g. a label that depends on UI state.
|
||||
/// </summary>
|
||||
/// <param name="provider">Function returning the text to display; called on the Unity main thread.</param>
|
||||
/// <param name="provider">Function returning the text to display; called on the main Unity thread.</param>
|
||||
public void SetDynamic(Func<string> provider)
|
||||
{
|
||||
_dynamicProvider = provider;
|
||||
|
||||
Reference in new issue
Block a user