Search Issue Tracker
Not Reproducible
Votes
0
Found in
Issue ID
670290
Regression
No
UnityEvent drawer does not request appropriate subtype for parameter field
Suppose you have a method like:
void SomeMethod(MyComponent c)
Adding this method to a UnityEvent in the Inspector works, but the object field shown for the argument is just of type 'Object', rather than type 'MyComponent.' This makes it awkward to wire up components as method arguments, because dragging and dropping GameObjects onto the field causes the GameObject itself to be stored as the argument rather than the component.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Rigidbody2D.Slide API does not have the needed configuration when creating a 2D Top-Down character controller
- Opening reference for "Playables"component redirects to a missing page
- Sprite Renderer image is changed when switching Mask Interaction and changing Sprite to a shared Sprite
- An unsigned integer is not compared with an integer correctly in player when using IL2CPP backend
- Graphical artifacts are being rendered in Scenes that are loaded during run-time when GPU Resident Drawer is turned on
Add comment