| Parameter | Description |
|---|---|
| name | The name of the variable to remove. |
bool
true when a variable was removed; otherwise, false.
Removes the variable stored under the given name.
The name is whitespace-normalized the way LocalVariablesGroup.Add normalizes it. Does nothing when no variable matches.
<para>Remove a variable by name.</para>
using Unity.Localization;
namespace Unity.Localization.Samples { public class LocalVariablesGroupRemoveExample { public void Remove() { var group = new LocalVariablesGroup(); group.Add(new LocalizedString(), "subtitle"); group.Remove("subtitle"); } } }