Beispiel #1
0
        private object GetParsedValue(FieldInstance fieldInstanceType, object value)
        {
            ParseFieldValueAction action = LDtkFieldParser.GetParserMethodForType(fieldInstanceType);

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