You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are some cases where I want to select subclasses of ICardActionCommand directly, where I can create ready to use instance from inspector, but sometimes I need to use Config classes which would be selected as subclasses of IConfigurator<T>. I want to suppress in that cases selecting original class from subclass menu. It is possible to remove [Serializable] from it, but there are also cases where [Serializable] is required for some other logic like saving.
// in this example I want my DeferredCardActionCommand to be NOT selectable as subclass of ICardActionCommand[Serializable]publicreadonlystructDeferredCardActionCommand:ICardActionCommand{[Serializable,AddTypeMenu("Cards/Deferred card action")]privateclassConfig:IConfigurator<ICommand>{// impl}// impl}
The text was updated successfully, but these errors were encountered:
Feature destription
There are some cases where I want to select subclasses of
ICardActionCommand
directly, where I can create ready to use instance from inspector, but sometimes I need to useConfig
classes which would be selected as subclasses ofIConfigurator<T>
. I want to suppress in that cases selecting original class from subclass menu. It is possible to remove[Serializable]
from it, but there are also cases where[Serializable]
is required for some other logic like saving.The text was updated successfully, but these errors were encountered: