I use a script to convert components to other components, when i click convert it: copies values, destroys old component, and adds new component with values
example:
converting x to y component
component x1, component x2, component x3
component x1, component x3, component y2
the new component is added to the end,
in this example, it means that the animator thinks component x3 is y2
is there a way to change the order of a component through script?
component x1, component x2, component x3...
MonoBehaviour Component order, like menu "Move Up" and "Move Down" in script
example:
converting x to y component
component x1, component x2, component x3
component x1, component x3, component y2
the new component is added to the end,
in this example, it means that the animator thinks component x3 is y2
is there a way to change the order of a component through script?
component x1, component x2, component x3...
MonoBehaviour Component order, like menu "Move Up" and "Move Down" in script