WordPress For Unity Bridge

Bridge

Key features
  • ► Login using existing website credentials
  • ► Create an account on your website directly from within your game
  • ► Share login details across all your games
  • ► Automatically receive ANY user data stored in the usermeta table as soon as login succeeded
  • ► All functions and data are stored statically and can thus be accessed at any time from any script in any scene without having to link anything to anything else
  • ► Includes a fully functional and 100% skin-able UGUI prefab to get started ASAP
  • ► GUI and functionality are kept separate. This makes the kit 100% GUI agnostic. Create your own GUI using any system you wish. No need to modify the code to make it work with your chosen GUI system
  • ► Install the kit once and use it with all your current and future games
  • ► Supports the "Remember me" option and auto login if enabled
  • ► Temporarily kick or permanently ban users from specific games
  • ► Features password resetting in case you can't log in
  • ► Allows password changing for logged in users
  • ► Update basic personal info: real names, email, website details
  • ► Use your existing Gravatar image as your in-game avatar
  • ► Select Gravatar type to generate for users who don't have a Gravatar account
  • ► Fetch the appropriate age restricted Gravatar for your game
  • ► Auto detects installed expansion kits and provide settings for them in the inspector when present
  • ► Includes a security feature to prevent outside tampering with your site or games
  • ► Incredibly easy to add new, custom functionality to the kit. (See the FAQ tab for details)
  • ► Features a number of callbacks to hook into for any/all server responses
  • ► Every call to the server results in either a success or failure response, each time triggering an event. Access to these events allows you full control over what to do in each case, no matter the action you tried to perform and what result the server returned.

Implementation into your own games
  1. Install the wub_login plugin on your website (if you haven't done so already)
  2. In your dashBoard click on UnityBridge->All Games to create a new game just like you would make a normal WordPress post
  3. In Unity, give the login prefab your website url and the game ID generated in step 2
  4. Drag the login prefab into a scene
  5. Your game is now configured to run from your website's database. Just hit play to see it in action!

Website features The Unity Bridge plugin includes a full featured dashboard from which to configure everything related to this and all expansions plugins. The dashboard displays the configuration panels for all installed expansions in one convenient location giving you a one stop location to manage everything. The dashboard settings are restricted to admin access only!

Includes ShortCodes and widgets to help you in creating your website
  • ► Create a default game layout and have the plugin auto generate game pages for you.
    You already created the page content when you generated the game so now the plugin will generate pages for all your games using your skeleton layout
  • ► Create a page that automatically generates banners to point visitors to your game's pages
  • ► Generate vertical or horizontal animated banners
  • ► Generate a poster image with rounded corners and customizable styles
  • ► Display a logged in user's status for the current game (Good, kicked, banned)

Display WebGL games on your website Simply build the WebGL game in Unity, upload the folder to your website (optionally, delete everything except the "Data" folder) and then, wherever you want to display your game, assuming your game folder is called "MyGame", just use this shortcode
[wub_webgl game="MyGame" height="500px"]

Done!

Now you just need to decide between:

  • ► Displaying the placeholder graphic so games don't load automatically (Save user's bandwidth)
  • ► ...or load games automatically without placeholder images. (Games show faster)