Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Does MonoBehaviour class name no longer need to match file name???? Is this intentional?

Discussion in '2022.2 Beta' started by Neonlyte, Sep 12, 2022.

  1. Neonlyte

    Neonlyte

    Joined:
    Oct 17, 2013
    Posts:
    505
    Am I imagining things?

    Version: 2022.2 beta 8

    upload_2022-9-12_2-21-47.png
     
  2. Neonlyte

    Neonlyte

    Joined:
    Oct 17, 2013
    Posts:
    505
    I'll submit a bug report to inquire on this if nobody has any idea if this is now explicitly allowed.
     
  3. AlkisFortuneFish

    AlkisFortuneFish

    Joined:
    Apr 26, 2013
    Posts:
    964
    There is now a direct link between the fully qualified class name of a component and its assignment to an object, it's m_EditorClassIdentifier. I suspect whatever work has resulted in its existence has allowed this to be implemented.