Exemple #1
0
        public static bool TryReadBool(PathableAttribute attribute, out bool valueOut)
        {
            valueOut = (attribute.Value == "1");

            return(true);
        }
Exemple #2
0
 public static bool TryReadFloat(PathableAttribute attribute, out float valueOut)
 {
     return(InvariantUtil.TryParseFloat(attribute.Value, out valueOut));
 }