
內容簡介
這是一個簡單的外掛程式,使用 shortcode: [MmmUnityLoader src=”yourfile.unity3d” width=”640″ heigh=”480″ /],即可載入 unity3d 檔案。
參數:
src:unity3d 檔案的網址
height:播放器的高度
width:播放器的寬度
attributes:欲加入內嵌或物件輸出的內容應放在此處。
content:開始和結束 shortcode 標籤之間添加的任何內容,會顯示在 Unity 物件加載之前,作為一種「按一下以載入」的方式
使用範例:
[MmmUnityLoader src=”yourfile.unity3d” width=”640″ heigh=”480″ /]
這將載入一個寬度為 640 像素,高度為 480 像素的檔案-因為未指定內容,一些簡單的文字「按此載入」將在物件被載入之前出現。
[MmmUnityLoader src=”yourfile.unity3d” width=”640″ heigh=”480″]
[/MmmUnityLoader]
這將載入一個寬度為 640 像素,高度為 480 像素的檔案,並使用圖像而非預設的載入文字。
請參閱 http://berv.ca/ 上的使用示例!
外掛標籤
開發者團隊
原文外掛簡介
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/!
