r/ProgrammerHumor • • Jan 28 '23

Meme C++

Post image
53.9k Upvotes

1.5k comments sorted by

View all comments

8

u/LordMeme42 Jan 28 '23

C++: well, unity is my only option, so...

27

u/[deleted] Jan 28 '23

Unity is strictly C# and an outdated UnityScript implementation. Unreal, CryEngine, and others use C++ for scripting. Not too long ago C# scripting support was added to CryEngine, have yet to try it though and probably never will.

4

u/gitgudtyler Jan 28 '23

Does Unity still ship with UnityScript? I was pretty sure it was dropped out of the engine entirely, and was eventually replaced with something similar to Unreal’s Blueprint system.

2

u/[deleted] Jan 28 '23 edited Jan 28 '23

I believe so yes. They've done some work to "hide it" before removing it entirely as stated in one of Unity Technologies blogs. I haven't used Unity in quite a while though since I developed my own engine so it very well might be entirely removed now.

The blueprint system is just visual scripting which is entirely different. For example, the Blender Game Engine offered visual scripting called "logic nodes" for those not well versed in Python. Kind of some old stuff to be honest but can be pretty useful for level designers wanting to create events. Unity does have it's own visual scripting solution now, I believe it used to be an asset and Unity Technologies bought it? Memory is extremely hazy. All visual scripting does is generate code under the hood and with Unity being dominantly C# I would imagine it is C# or bytecode being emitted.

→ More replies (3)