Are there any performance penalties in putting classes in an external dll rather than defining them directly in Unity and letting them inherit from MonoBeaviour?
Another way to put it - do I gain any performance by defining a class directly in a Unity script, letting it inherit from MonoBehaviour and make it a component of a GameObject, rather than having that class in an external dll and letting the calling script update the external class? This is mainly concerning physics functions in the FixedUpdate().
///JmD
↧