/// <summary> /// Set a HashValueBehaviour value for the given key. /// </summary> public bool SetVariable(string key, HashValueBehaviour value) { var variable = GetVariable(key); if (variable == null) { return(false); } variable.SetValue(value); return(true); }
/// <summary> /// Set a HashValueBehaviour value for the given locale key. /// </summary> public bool SetVariable(string key, HashValueBehaviour value) { return(useVariables && variables.SetVariable(key, value)); }
/// <summary> /// Set this HashValueBehaviour value. /// </summary> public void SetValue(HashValueBehaviour value) { type = Type.HashValue; hash = value; }
/// <summary> /// Set a HashValueBehaviour value for the given locale key. /// </summary> public bool SetVariable (string key, HashValueBehaviour value) { return useVariables && variables.SetVariable (key, value); }
/// <summary> /// Set this HashValueBehaviour value. /// </summary> public void SetValue (HashValueBehaviour value) { type = Type.HashValue; hash = value; }
/// <summary> /// Set a HashValueBehaviour value for the given key. /// </summary> public bool SetVariable (string key, HashValueBehaviour value) { var variable = GetVariable (key); if (variable == null) return false; variable.SetValue (value); return true; }