Home Plugins mmm unity loader
Mmm Unity Loader logo

Mmm Unity Loader

by Adam Bissonnette on WordPress.org

Plugin to load unity3d files in a web player using a basic shortcode and UnityObject.js

(0)

This is a simple plugin to load unity3d files in a using this shortcode: [MmmUnityLoader src=”yourfile.unity3d” width=”640″ heigh=”480″ /].

Parameters:

  • src: The url to your unity3d file
  • height: The height of the player
  • width: The width of the player
  • attributes: Any content you want added to the embed / object output add in here.
  • content: Any content added between the start and the end of the shortcode tag will appear before the Unity object is loaded as a sort of “click to load”

Usage Examples:

[MmmUnityLoader src=”yourfile.unity3d” width=”640″ heigh=”480″ /]

  • This will load a file with a width of 640px by 480px – since no content was specified some simple text “Click here to load” will appear before the Object is loaded.

[MmmUnityLoader src=”yourfile.unity3d” width=”640″ heigh=”480″]

[/MmmUnityLoader]

  • This will load a file with a width of 640px by 480px and an image instead of the default loading text.

See it in use on http://berv.ca/!

Active installations30+
Weekly downloads
10-23.08%
Version1.0
Last updated2/12/2015
WordPress version3.4
Tested up to4.1.41
Tags
shortcodeUnityUnity LoaderUnity Player