Search Unity

Feedback Script rename improvement

Discussion in 'Editor & General Support' started by User340, Jan 15, 2020.

  1. User340

    User340

    Joined:
    Feb 28, 2007
    Posts:
    3,001
    When renaming a script, if the script contains a MonoBehaviour, have a dialog appear that asks if I would like to also rename the MonoBehaviour class as well to make it match the new filename.

    If the script does not contain a MonoBehaviour, then don't show the dialog.

    Currently renaming scripts is a hassle, it could easily be improved by making this small change.

    Almost 100% of the time when I am renaming a script I would also like it to rename the MonoBehaviour class within.

    @willgoldstone