You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
4. Download and install the [Meteor-Unity package](http://hiddenswitch.github.io/Meteor-Unity/Meteor-Unity_v3.0.unitypackage).
45
43
46
44
47
45
5. Create a `meteor` project, add the `accounts-password` package, and run the project.
48
-
49
-
```sh
50
-
meteor create Web
51
-
cd Web
52
-
meteor add accounts-password
53
-
meteor
54
-
```
46
+
```sh
47
+
meteor create Web
48
+
cd Web
49
+
meteor add accounts-password
50
+
meteor
51
+
```
55
52
56
53
6. Connect to your server from Unity. All `meteor` work should live in coroutines. Here is an example which uses a coroutine (`IEnumerator`) to sequence a bunch of actions one after another. In this example, we assume we've defined a collection called `collectionName` on the server and created a few methods and subscriptions. You can't copy and paste the code below and expect it to work with an empty `meteor` project, but it will compile.
57
-
58
-
```c#
59
-
IEnumerator MeteorExample() {
60
-
var production = false;
54
+
```c#
55
+
IEnumerator MeteorExample() {
56
+
var production = false;
61
57
62
-
// Connect to the meteor server. Yields when you're connected
0 commit comments