Unity Asset Programming Laguage

Which programming language is used to create Unity assets? Not to create games but the language to create the assets? Thank you in advance for the help.

You typically use Unity to create assets. There may be some exceptions in case of art but generally is Unity. Some assets don’t require programming at all, so you wouldn’t worry about any language. Unless diving into yaml config file.

If asset is doing some scripting, that typically will be C#, as this is base language used within Unity editor. Mind, unity core is not written in C#, but that subject will be beyond this topic.

What sort of assets are you talking about? Do you mean editor assets like Bolt and Probuilder? These are written in C#. A lot of the same API is shared between Unity game scripting and editor scripting to make it easier over-all.

There are some editor scripting tutorials here:

https://learn.unity.com/tutorial/editor-scripting#

If you’re talking about assets such as those you would download from the Unity Asset Store, you would typically use C# like any other Unity script unless you had a specific reason not to. If you are talking about when creating Asset Bundles, well those don’t support including compiled code, so you don’t typically include any code at all. Though it is possible to include runtime interpreted code, such as Lua, but you’d need to include a runtime interpreter in your project to handle it (some app market places don’t allow runtime interpreted code by the way).

If you’re talking about something else, you need to clarify your question.

Thank you all for your responses. I really appreciate your help.

1 Like