unity3d with meteor
TRANSCRIPT
![Page 1: Unity3D With Meteor](https://reader035.vdocument.in/reader035/viewer/2022062503/587fd2c61a28ab58248b5011/html5/thumbnails/1.jpg)
05/01/2023 UNITY WITH METEOR - TRINH DUC HUY 1
UNITY3D WITH METEOR
TRINH DUC HUY
![Page 2: Unity3D With Meteor](https://reader035.vdocument.in/reader035/viewer/2022062503/587fd2c61a28ab58248b5011/html5/thumbnails/2.jpg)
05/01/2023
UNITY WITH METEOR - TRINH DUC HUY 2
SUMMARYA glance about Unity3D and Meteor
Meteor with Unity3D Desktop and Mobile
Meteor with Unity3D WebGL
Demo
![Page 3: Unity3D With Meteor](https://reader035.vdocument.in/reader035/viewer/2022062503/587fd2c61a28ab58248b5011/html5/thumbnails/3.jpg)
05/01/2023
UNITY WITH METEOR - TRINH DUC HUY 3
Realtime
Open source
Simple
MongoDb
![Page 4: Unity3D With Meteor](https://reader035.vdocument.in/reader035/viewer/2022062503/587fd2c61a28ab58248b5011/html5/thumbnails/4.jpg)
05/01/2023
UNITY WITH METEOR - TRINH DUC HUY 4
Game Engine
Cross Platform
Large Communi
ty
C# & Javascrip
t
![Page 5: Unity3D With Meteor](https://reader035.vdocument.in/reader035/viewer/2022062503/587fd2c61a28ab58248b5011/html5/thumbnails/5.jpg)
05/01/2023
UNITY WITH METEOR - TRINH DUC HUY 5
WHY USING METEORJS AS GAME SERVER■ No SQL database support.■ Collections and Methods■ Free and fast to deploy a server.
![Page 6: Unity3D With Meteor](https://reader035.vdocument.in/reader035/viewer/2022062503/587fd2c61a28ab58248b5011/html5/thumbnails/6.jpg)
05/01/2023 UNITY WITH METEOR - TRINH DUC HUY 6
METEOR WITH UNITY3D MOBILE
![Page 7: Unity3D With Meteor](https://reader035.vdocument.in/reader035/viewer/2022062503/587fd2c61a28ab58248b5011/html5/thumbnails/7.jpg)
05/01/2023
UNITY WITH METEOR - TRINH DUC HUY 7
HIDDENSWITCH PLUGIN
■ Document : http://hiddenswitch.github.io/Meteor-Unity/annotated.html
■ Github : https://github.com/hiddenswitch/Meteor-Unity
![Page 8: Unity3D With Meteor](https://reader035.vdocument.in/reader035/viewer/2022062503/587fd2c61a28ab58248b5011/html5/thumbnails/8.jpg)
05/01/2023
UNITY WITH METEOR - TRINH DUC HUY 8
hiddenswitch
Accounts
Collection
Connection
Cursor
Error
LoginResult
Method
Mongo Documen
t
Observe
Subscribe
![Page 9: Unity3D With Meteor](https://reader035.vdocument.in/reader035/viewer/2022062503/587fd2c61a28ab58248b5011/html5/thumbnails/9.jpg)
05/01/2023
UNITY WITH METEOR - TRINH DUC HUY 9
CONNECT
![Page 10: Unity3D With Meteor](https://reader035.vdocument.in/reader035/viewer/2022062503/587fd2c61a28ab58248b5011/html5/thumbnails/10.jpg)
05/01/2023
UNITY WITH METEOR - TRINH DUC HUY 10
SUBSCRIPTION
![Page 11: Unity3D With Meteor](https://reader035.vdocument.in/reader035/viewer/2022062503/587fd2c61a28ab58248b5011/html5/thumbnails/11.jpg)
05/01/2023
UNITY WITH METEOR - TRINH DUC HUY 11
METHOD
![Page 12: Unity3D With Meteor](https://reader035.vdocument.in/reader035/viewer/2022062503/587fd2c61a28ab58248b5011/html5/thumbnails/12.jpg)
05/01/2023 UNITY WITH METEOR - TRINH DUC HUY 12
METEOR WITH UNITY3D WEBGL
![Page 13: Unity3D With Meteor](https://reader035.vdocument.in/reader035/viewer/2022062503/587fd2c61a28ab58248b5011/html5/thumbnails/13.jpg)
05/01/2023
UNITY WITH METEOR - TRINH DUC HUY 13
INTERACTIVE WITH JAVASCRIPT■ Call from outside javascript to inside Unity3D.– SendMessage ('MyGameObject', 'MyFunction',
'foobar');■ Call from inside Unity3D to outside Javascript .– Application.ExternalCall();
![Page 14: Unity3D With Meteor](https://reader035.vdocument.in/reader035/viewer/2022062503/587fd2c61a28ab58248b5011/html5/thumbnails/14.jpg)
05/01/2023
UNITY WITH METEOR - TRINH DUC HUY 14
BLAZE
METEOR CODE
UNITY WEBGL
GAME OBJECT : A
![Page 15: Unity3D With Meteor](https://reader035.vdocument.in/reader035/viewer/2022062503/587fd2c61a28ab58248b5011/html5/thumbnails/15.jpg)
05/01/2023 UNITY WITH METEOR - TRINH DUC HUY 15
DEMO
![Page 16: Unity3D With Meteor](https://reader035.vdocument.in/reader035/viewer/2022062503/587fd2c61a28ab58248b5011/html5/thumbnails/16.jpg)
05/01/2023
UNITY WITH METEOR - TRINH DUC HUY 16
QUICK GLANCE
■ Connect to server will auto create player■ Sync data from all other client■ When current client have input will send command
to all other client
![Page 17: Unity3D With Meteor](https://reader035.vdocument.in/reader035/viewer/2022062503/587fd2c61a28ab58248b5011/html5/thumbnails/17.jpg)
05/01/2023
UNITY WITH METEOR - TRINH DUC HUY 17
ARCHITECTURE
■ 2 Collections– Players : Current state of all client – Commands : This collection use for change client’s
state■ 2 Methods– createPlayer : Call when connect to server– insertComand : Call when client update something
will notify to server
![Page 18: Unity3D With Meteor](https://reader035.vdocument.in/reader035/viewer/2022062503/587fd2c61a28ab58248b5011/html5/thumbnails/18.jpg)
05/01/2023
UNITY WITH METEOR - TRINH DUC HUY 18
UNITY3D SETUP
■ Needed folder – Atlases– Plugins– Prefabs– Resources– Scenes– Textures
![Page 19: Unity3D With Meteor](https://reader035.vdocument.in/reader035/viewer/2022062503/587fd2c61a28ab58248b5011/html5/thumbnails/19.jpg)
05/01/2023
UNITY WITH METEOR - TRINH DUC HUY 19
UNITY3D PLUGINS
■ JSON.NET■ Meteor-Unity■ NGUI ■ Pixel placement
![Page 20: Unity3D With Meteor](https://reader035.vdocument.in/reader035/viewer/2022062503/587fd2c61a28ab58248b5011/html5/thumbnails/20.jpg)
05/01/2023 UNITY WITH METEOR - TRINH DUC HUY 20
THANK YOU