Add autocompletion for animation, effect and point in behavior properties #5996
Labels
✨ enhancement
👌good first issue
Good issue if you want to start contributing to GDevelop
😤Non optimal UI
A bug/issue where the UI is usable but not optimal
Description
There are autocompletions in action and condition parameters that don't exist for behavior properties.
Solution suggested
Some insights:
EventsBasedBehaviorPropertiesEditor
PropertiesMapToSchema
ObjectAnimationNameField
,ObjectEffectNameField
,ObjectEffectParameterNameField
,ObjectPointNameField
ValueTypeMetadata::ConvertPropertyTypeToValueType
Tests
It can be tested on this extensions
Manually check that generated functions use the right parameter type.
![image](https://private-user-images.githubusercontent.com/2611977/400415704-40d386c3-3929-4947-b468-e720e181db01.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1MjQ2OTgsIm5iZiI6MTczOTUyNDM5OCwicGF0aCI6Ii8yNjExOTc3LzQwMDQxNTcwNC00MGQzODZjMy0zOTI5LTQ5NDctYjQ2OC1lNzIwZTE4MWRiMDEucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxNCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTRUMDkxMzE4WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9M2Q5YWI2M2UyNTE1MDYxZjAyZTFiNDEzMDcwM2MxNGUxZTk0Mjk0YzhiZjJlM2YwNGJmNWE4NDBlNGRmNjEyZCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.oEDo2bnf10YJMQjd-hJH5tIeP-QwbR8eAu9qj9d8snI)
The text was updated successfully, but these errors were encountered: