using System; namespace UnityEngine.Localization.SmartFormat.Extensions { /// /// Can be used to provide global values that do not need to be passed in as arguments when formatting a string. /// The smart string should take the format {groupName.variableName}. e.g {global.player-score}. /// Note: The group name and variable names must not contain any spaces. /// [Serializable] [Obsolete("Please use PersistentVariablesSource instead (UnityUpgradable) -> PersistentVariablesSource")] public class GlobalVariablesSource : PersistentVariablesSource { /// /// Creates a new instance of the source, /// /// public GlobalVariablesSource(SmartFormatter formatter) : base(formatter) { } } }