Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Unity and Azure Mobile Services 
David Douglas 
@deadlyfingers
3 takeaways… 
1 Azure Mobile Services 
2 Unity plugins for Azure 
3 Building demo project
1 - Azure Mobile Service
What is Azure Mobile Services? 
Cloud backend in minutes!
Create Azure Mobile Service 
- Start free trial 
aka.ms/azure_trial 
- DreamSpark (students) 
dreamspark.com 
- BizSpark (...
Create Mobile Service
Create Mobile Service
Create Mobile Service
Create Mobile Service
Create Mobile Service
2 - Unity plugins for 
Azure Mobile Services
A couple of choices..
BitRave 
• Free 
• Runs across “everything” – 
– Windows 8 & WindowsPhone 8 
– iOS* 
– Android* 
– UnityEditor 
*Requires ...
Prime[31] 
• Free (until July 2015) 
• Well documented 
• Runs across 
– Windows 8 and WindowsPhone 8 
– UnityEditor* 
*Ru...
3 – Building demo project
Download Azure Plugin 
http://prime31.com/plugins
Download & Install Azure SDK 
http://tinyurl.com/installazuresdk
Add Demo Table
Create New Unity Project
Download & Open the Plugin
7 Prime[31] API functions 
// Prepares the connection to the Azure servers. This must be called before any other methods. ...
Gotyas! 
• Download & install the Mobile Services SDK 
before using the Prime[31] Azure plugin. 
http://go.microsoft.com/f...
Couple more things!!
WinBridge for Windows Store 
• Windows store 
- In-app-purchases 
- trial upgrade 
- receipt management 
- Windows store d...
Lifetime Dev Center 
• No more annual fees! 
https://devcenterbenefits.windows.com/
Links 
Prime31 
Plugins 
https://prime31.com/plugins 
Prime31 Info http://blogs.msdn.com/b/dave_voyles_for_gaming_html5_an...
Thanks 
Questions? @deadlyfingers
Unity and Azure Mobile Services using Prime31 plugin
Unity and Azure Mobile Services using Prime31 plugin
Unity and Azure Mobile Services using Prime31 plugin
Unity and Azure Mobile Services using Prime31 plugin
Unity and Azure Mobile Services using Prime31 plugin
Unity and Azure Mobile Services using Prime31 plugin
Unity and Azure Mobile Services using Prime31 plugin
Unity and Azure Mobile Services using Prime31 plugin
Unity and Azure Mobile Services using Prime31 plugin
Unity and Azure Mobile Services using Prime31 plugin
Unity and Azure Mobile Services using Prime31 plugin
Unity and Azure Mobile Services using Prime31 plugin
Unity and Azure Mobile Services using Prime31 plugin
Unity and Azure Mobile Services using Prime31 plugin
Unity and Azure Mobile Services using Prime31 plugin
Unity and Azure Mobile Services using Prime31 plugin
Upcoming SlideShare
Loading in …5
×

Unity and Azure Mobile Services using Prime31 plugin

11,903 views

Published on

Unity and Azure Mobile Services using Prime 31 plugin demo.

  • Be the first to comment

Unity and Azure Mobile Services using Prime31 plugin

  1. 1. Unity and Azure Mobile Services David Douglas @deadlyfingers
  2. 2. 3 takeaways… 1 Azure Mobile Services 2 Unity plugins for Azure 3 Building demo project
  3. 3. 1 - Azure Mobile Service
  4. 4. What is Azure Mobile Services? Cloud backend in minutes!
  5. 5. Create Azure Mobile Service - Start free trial aka.ms/azure_trial - DreamSpark (students) dreamspark.com - BizSpark (startups) microsoft.com/bizspark
  6. 6. Create Mobile Service
  7. 7. Create Mobile Service
  8. 8. Create Mobile Service
  9. 9. Create Mobile Service
  10. 10. Create Mobile Service
  11. 11. 2 - Unity plugins for Azure Mobile Services
  12. 12. A couple of choices..
  13. 13. BitRave • Free • Runs across “everything” – – Windows 8 & WindowsPhone 8 – iOS* – Android* – UnityEditor *Requires JSON.NET for Unity asset ($20)
  14. 14. Prime[31] • Free (until July 2015) • Well documented • Runs across – Windows 8 and WindowsPhone 8 – UnityEditor* *Runs, but does not connect in UnityEditor
  15. 15. 3 – Building demo project
  16. 16. Download Azure Plugin http://prime31.com/plugins
  17. 17. Download & Install Azure SDK http://tinyurl.com/installazuresdk
  18. 18. Add Demo Table
  19. 19. Create New Unity Project
  20. 20. Download & Open the Plugin
  21. 21. 7 Prime[31] API functions // Prepares the connection to the Azure servers. This must be called before any other methods. public static void connect( string applicationUrl, string applicationKey ) // Inserts a new item into the database public static void insert<T>( T item, Action completionHandler ) // Updates an item in the database public static void update<T>( T item, Action completionHandler ) // Deletes an item from the database public static void delete<T>( T item, Action completionHandler ) // Queries the database public static void where<T>( Expression<Func<T,bool>> predicate, Action<List<T>> completionHandler ) // Looks an item up to see if it is in the database public static void lookup<T>( T item, Action<T> completionHandler ) // Authenticates a user with the service provider. Note that the service provider must first be setup in the Azure web dashboard! // The completionHandler will return null in the event of a login failure. public static void authenticateWithServiceProvider( MobileServiceAuthenticationProvider serviceProvider, Action<MobileServiceUser> completionHandler )
  22. 22. Gotyas! • Download & install the Mobile Services SDK before using the Prime[31] Azure plugin. http://go.microsoft.com/fwlink/?LinkId=257545&clcid=0x409 • Add "P31MetroAzure.dll" to Unprocessed Plugins in Player Settings Unity 4.5.1+
  23. 23. Couple more things!!
  24. 24. WinBridge for Windows Store • Windows store - In-app-purchases - trial upgrade - receipt management - Windows store debugging • Native message dialogs • Native & hardware-accelerated video playback • 100% open source
  25. 25. Lifetime Dev Center • No more annual fees! https://devcenterbenefits.windows.com/
  26. 26. Links Prime31 Plugins https://prime31.com/plugins Prime31 Info http://blogs.msdn.com/b/dave_voyles_for_gaming_html5_and_xbox/archive/2014/08/13/prime-31- azure-mobile-services-plugin-for-win8-amp-wp8-unity-games.aspx Prime31 Video (leaderboard) http://channel9.msdn.com/Series/Developing-2D-3D-Games-with- Unity-for-Windows/09 Prime31 Blog (leaderboard) http://davevoyles.azurewebsites.net/prime31-azure-plugin-win8- wp8-unity-games-part-2/ Unity Rewards Program http://www.wpdevcenteroffers.com Windows Lifetime Store Account http://blogs.windows.com/buildingapps/2014/09/17/new-dev-center- lifetime-registration-benefits-program/
  27. 27. Thanks Questions? @deadlyfingers

×