Code Monkey home page Code Monkey logo

Comments (9)

MattRix avatar MattRix commented on May 21, 2024 1

Interesting idea! I don't decompilation is the place to do that, instead you could generate that list using reflection at runtime. For example: http://stackoverflow.com/a/1315668

from unitydecompiled.

MattRix avatar MattRix commented on May 21, 2024 1

Great that you got this worked out!

from unitydecompiled.

Geri-Borbas avatar Geri-Borbas commented on May 21, 2024

Yay, thanks for getting back!
I'm a great admirer of your work since Trainyard.

Me also was looking into runtime inspection since than. With Edge.js I could lookup / inspect Unity on client side packed directly into a VS Code extension. Would be no any list to maintain then. Also, it could inspect project assemblies as well, so I could color static / instance methods differently, and more.

from unitydecompiled.

Geri-Borbas avatar Geri-Borbas commented on May 21, 2024

Well, in the end I used the .csproj files actually from this repo. 😄
A good approximation at least.

In case you're interested in VS Code., may take a look at: https://twitter.com/_eppz/status/849450641760161792

from unitydecompiled.

Geri-Borbas avatar Geri-Borbas commented on May 21, 2024

Thanks for this repo again!

Since than I used it for this writeup as well - http://eppz.eu/blog/unity-editor-icon-assets/, https://twitter.com/_eppz/status/855432605189234688 - to locate Editor Assets / Textures / Icons.

Endless source of Unity wisdom. 😄

from unitydecompiled.

MattRix avatar MattRix commented on May 21, 2024

Oh nice! What's funny is that a few months ago, I actually dumped out the icons as well. I wanted to use them when making editor tools. I generated a simple webpage with all of them in it. I only use it for my own stuff, I don't think I ever put it up online anywhere.

from unitydecompiled.

Geri-Borbas avatar Geri-Borbas commented on May 21, 2024

I thought the same, to use those icons when shipping Editor tools.

In the end, I made a class - https://github.com/eppz/Unity.Library.eppz/blob/master/EditorUtils/SliceRenamer.cs#L30 - that creates a Texture2D from a Base64 strings - https://github.com/eppz/Unity.Library.eppz/blob/master/EditorUtils/SliceRenamer.cs#L273 -, so the textures are in the Editor Tool source code as well.

Sorry for keep bothering you, I'm just enjoying conversation with such Legend. 😄

from unitydecompiled.

MattRix avatar MattRix commented on May 21, 2024

Ah, great idea to store the icons as Base64! It's always a pain to have to include extra files, so I really like that approach :)

from unitydecompiled.

Geri-Borbas avatar Geri-Borbas commented on May 21, 2024

Yap, one can ship / maintain an Editor Tool in a single .cs source.

from unitydecompiled.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.