Add hint when assigning wrong target value type in ComponentSingleSetter
Issue #44
resolved
Right now it's possible to assign any type to a target binding of ComponentSingleSetter. The type should be at least checked and a warning should be displayed in inspector and/or throw a warning during runtime.
Comments (4)
-
reporter -
reporter For ComponentSingleSetter and ComponentSingleGetter errors are logged now when a target object with a wrong type is assigned from a data binding
-
reporter - changed status to resolved
-
reporter - removed milestone
Removing milestone: 1.0.10 (automated comment)
- Log in to comment
ComponentSingleSetter.OnTargetChanged => Does a safe conversion with "as TComponent". This would be the place to throw a warning.