public ExportPointer CreateExportPointer(Object @object, bool isLocal) { string exportID = GetExportID(@object); return(isLocal ? new ExportPointer(exportID) : new ExportPointer(exportID, @object.GUID, AssetExporter.ToExportType(@object.ClassID))); }
public ExportPointer CreateExportPointer(Object @object, bool isLocal) { if (isLocal) { throw new ArgumentException(nameof(isLocal)); } return(new ExportPointer(GetExportID(@object), UnityGUID.MissingReference, AssetExporter.ToExportType(@object.ClassID))); }