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

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