Search Unity

Is there a list of public Types?

Discussion in 'Scripting' started by dadude123, Jan 21, 2019.

  1. dadude123

    dadude123

    Joined:
    Feb 26, 2014
    Posts:
    789
    I'm working on a pretty cool project at the moment for which I'd like to know what types/classes have been added and when.

    For example: If I remember correctly it was Unity 2017.2 that gave us `Vector2Int`, `RectInt`, ...

    I'm aware that there is https://docs.unity3d.com/ScriptReference/
    but I can't seem to figure out how to view older versions of only the ScriptReference.
    There are sometimes links at the top that let you switch to an older version, but they send you back to /Documentation/ which makes it hard to figure out when a specific type was added.

    Also it would be nice to know what types (if any) will be added in 2019.1.
     
  2. Hosnkobf

    Hosnkobf

    Joined:
    Aug 23, 2016
    Posts:
    1,096
    I faced the same problem and couldn't find a solution yet.
    Unfortunately also the change logs don't list everything.

    So, I am watching this and hope somebody has a solution or Unity adds a "first introduced in version" feature to the docs.

    PS: it is really a pretty cool project. Looking forward to some comparison charts regarding serialization / deserialization time and file size compared to other libraries.
     
  3. dadude123

    dadude123

    Joined:
    Feb 26, 2014
    Posts:
    789
    I'm planning to add those tomorrow or the day after.
    With graphs and all that jazz.

    If you want to get a quick overview right now:
    Speed is around ~1.3x that of msgpack, so a little slower, but still insanely fast (but hey, more features just cost more CPU cycles :p).

    Binary size is always equal to or smaller than msgpack.

    It's still a young project so there are still a few things that can be improved a lot.
     
    Hosnkobf likes this.
  4. dadude123

    dadude123

    Joined:
    Feb 26, 2014
    Posts:
    789
    I sorta "solved" my problem by going through all types manually :/

    @Hosnkobf I reworked the readme and added some benchmarks!
     
    Hosnkobf likes this.
  5. Antistone

    Antistone

    Joined:
    Feb 22, 2014
    Posts:
    2,836
    Try
    https://docs.unity3d.com/2017.4/Documentation/ScriptReference/index.html

    Then replace "2017.4" with other versions you're interested in.
     
    Joe-Censored and Kiwasi like this.