P
P
Popou2021-01-09 13:11:24
Unity
Popou, 2021-01-09 13:11:24

How to create a cross platform plugin in Unity?

Unity supports installing jar files, methods are called from c#, but is this a cross platform solution? I calmly include the dll, but no matter how obvious it may sound, this solution is not cross-platform. Well, for example, I have a "C" code, it's no problem to make a dll out of it, but how to make it cross-platform?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
freeExec, 2021-01-09
@Popou

You collect pre-made native libs for platforms and throw them into the project in the appropriate Plugins folder, or you can check the boxes for which platform they are. Unity itself will add them during the final assembly of the project.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question