public abstract class View<TBinding>
{
[SerializeField] private TBinding binding;
protected TBinding Binding => binding;
}
public class MyView : View<MyView.MyBinding>
{
[Serializable]
public class MyBinding
{
public Text text;
}
}
When the package is removed, this type could be serialized well.
Type in use (some code is omitted)
When the package is removed, this type could be serialized well.
Stacktrace