Search Unity

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

Question locate and access Editor struct instance

Discussion in 'Getting Started' started by tleylan, Oct 15, 2023.

  1. tleylan


    Jun 17, 2020
    I'm trying to access some editor settings so I can write them into a file. I see the struct that defines them (on disk) and I can see a window in the editor that contains the values assigned to this struct. This struct must exist in memory and (theoretically) I believe I could write another editor script that (upon running it) could locate the struct or the window (or something) that contains this information.

    I've searched all over to see where the values displayed are stored but I have to guess they are in a binary format and I can't find them so I'm stuck finding them another way.

    Is this possible? Anyone done something similar?