Exemplo n.º 1
0
        private object GetParsedValue(FieldInstance fieldInstanceType, object value)
        {
            ParseFieldValueAction action = LDtkFieldParser.GetParserMethodForType(fieldInstanceType);

            return(action?.Invoke(value));
        }
Exemplo n.º 2
0
 bool ILDtkValueParser.TypeName(FieldInstance instance) => instance.IsPoint;
Exemplo n.º 3
0
 private object GetSingle(FieldInstance fieldInstance)
 {
     return(GetParsedValue(fieldInstance, fieldInstance.Value));
 }