I am new to Xenko, and I was wondering how can I attach a ScriptComponent to an entity in code (at runtime). I am porting a Unity library (DragonBone runtimes) to Xenko.
I am using the latest stable release of Xenko (220.127.116.11).
Thanks in advance.
you just have to call something like:
var script = new MyScript()
Thank you very much.
All I had found on the net was code from older versions of Xenko in which it was done in a completely different way.