Пример #1
0
 public void Set(string code, float value, bool persistent = false)
 {
     ValuesByKey[code] = new EntityStat <float>()
     {
         Value = value, Persistent = persistent
     };
 }
Пример #2
0
 public EntityFloatStats()
 {
     ValuesByKey["base"] = new EntityStat <float>()
     {
         Value = 1, Persistent = true
     };
 }