the static library
This time I’ll create the same sort of test plugin from the previous tutorial but with a precompiled iOS library. This option is ideal if you intend to create a plugin and sell it in the Asset store because your code will remain invisible to users.
the c# bridge
Here’s a simple guide to writing your own Native Plugins for Unity mobile games. I’ll start with iOS plugins and the two main ways you can do it: writing a bridge to an native class or compiling a native static library.
Let’s use Reactive Extension to build something a bit more fun: a simple version of Space Invaders. We have twenty aliens distributed inside a 5×4 grid. The game object acting as the container for the aliens move across the screen back and forth and then slowly downwards.
another unirx example
Let’s build a simple breathing exercise app using Unity and UniRX. The application has has two elements, an input text field and a button. You enter a number in the input field and hit the button.
unirx part deux
Let me go over a little the details of an Observable and Observer relationship in Rx. So almost anything can be made into an Observable (through custom events, but more on that later). An Observable watches the stream for certain signals, and match them against certain conditions you may specify. Like two Mouse Clicks that happen within half a second from each other.