-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make SheetContainerBase overridable, extendable #27
Comments
Hello! Thank you for raising the issue. Can your issue solved by extending converters instead? Converters are meant to be extended/customized for this kind of usage. It would be more reusable and can handle detailed import/export process. |
I understand that Converters are to convert each cell value? If so, that might not be what I want. However, it's not a big deal. I've resorted to a simple popup without progress bar just to indicate that the process has yet to finish. |
Sheet converters (e.g. |
Oh, could you draft up a sample to demonstrate that? Many thanks. |
I'm working on a custom Editor tooling that depends on BakingSheet for intermediate steps. But I've found myself in need of overidding
SheetContainerBase
to supportIProgress<float>
in the asyncBake
andStore
methods.Could you make at least
Bake
andStore
methods virtual to enable this use case?One possible solution for better extending is extracting an
ISheetContainer
interface out ofSheetContainerBase
, and makingSheetConvertingContext
use this interface instead of the abstract class.With either solutions, people can freely provide their own custom implementation of
SheetContainerBase
without the need of modifying your source code.The text was updated successfully, but these errors were encountered: