How to reproduce:
1. Create an empty Project
2. Create a new Animation Controller
3. Create at least two new Integer Parameters
4. In the Animator window, create at least three Empty States
5. Make a Transition from the “Entry” State to at least one of the newly created States
6. Make a Transition from the “Any State” State to at least one of the newly created States
6. Link the different created Parameters to the Transition Conditions of different States
7. Delete the Parameters
8. Observe the warning dialogue that only appears when you try to delete the Parameters linked to Transition Conditions originating from “Any State”
Expected result: Unity Editor brings up a warning message whenever any Parameter that is in use is set to be deleted
Actual result: Editor only brings up the warning message if the Parameter is in use by a Transition from the “Any State” State
Reproducible in: 2021.3.42f1, 2022.3.41f1, 6000.0.14f1
Reproducible on: Windows 11
Not reproducible on: No other environments tested