thrownewGenerateWriterException($"{variableReference.Name} is not a supported type. Use a supported type or provide a custom writer",variableReference);
thrownewGenerateWriterException($"Cannot generate writer for component type {variableReference.Name}. Use a supported type or provide a custom writer",variableReference);
}
if(variableReference.Is<UnityEngine.Object>())
{
thrownewGenerateWriterException($"Cannot generate writer for {variableReference.Name}. Use a supported type or provide a custom writer",variableReference);
thrownewGenerateWriterException($"Cannot generate writer for {variableReference.Name}. Use a supported type or provide a custom writer",variableReference);
}
if(variableDefinition.HasGenericParameters)
{
thrownewGenerateWriterException($"Cannot generate writer for generic type {variableReference.Name}. Use a supported type or provide a custom writer",variableReference);
}
if(variableDefinition.IsInterface)
{
thrownewGenerateWriterException($"Cannot generate writer for interface {variableReference.Name}. Use a supported type or provide a custom writer",variableReference);
}
if(variableDefinition.IsAbstract)
{
thrownewGenerateWriterException($"Cannot generate writer for abstract class {variableReference.Name}. Use a supported type or provide a custom writer",variableReference);