Search Unity

How can i see unity code?

Discussion in 'Documentation' started by nanomoney, Nov 25, 2021.

  1. nanomoney

    nanomoney

    Joined:
    Sep 30, 2018
    Posts:
    2
  2. nanomoney

    nanomoney

    Joined:
    Sep 30, 2018
    Posts:
    2
  3. Baste

    Baste

    Joined:
    Jan 24, 2013
    Posts:
    6,338
    Code is included in the project through dll's, so the source isn't available. There's two options:

    - Use Rider to edit code, or get Resharper for Visual Studio. Both decompile into source on the fly, and give you a pretty good representation of what the source is like

    - Check the publicly available source on Github. That requires manually searching, though, which is a bit of a pain.

    Ideally you'd have a button in your editor that jump straight to the source on GitHub, but I'm not aware of any such plugin for any editors.