Re:An open letter to our community [Unity]
by DonHopkins on Friday September 22, 2023 @09:12PM
(#37619751)
Unity also has a C# wrapper layer around C++ objects. Most of the performant stuff is written in C++, and the C# source code they provide as reference is just a wrapper around it.
For example, the Cloth bindings with annotations like [NativeHeader("Modules/Cloth/Cloth.h")] and [NativeClass("Unity::Cloth")]:
For example, the Cloth bindings with annotations like [NativeHeader("Modules/Cloth/Cloth.h")] and [NativeClass("Unity::Cloth")]:
https://github.com/Unity-Technologies/UnityCsReference/blob/...