- Home /
Too subjective and argumentative - this is not a site to ask for code. Post the code you have written, and ask for help if you have problems.
load an obj file from browser to unity3d
Hi,Now i am works on unity 3d. i am new in unity3d...Recently i checked with the unity asset bundle example.But it couldn't load properly.Instead of this i want to load an obj file from browser to unity3d . is it possible ? If it possible please give a sample program.
<script type="text/javascript">
//initializing the WebPlayer
var u = new UnityObject2();
u.initPlugin(jQuery("#unityPlayer")[0], "check.unity3d");
function SaySomethingToUnity()
{
alert("Communicate with Unity");
u.getUnity().SendMessage("Cube","test","");
}
function javascriptFunction( param ){
var conf=confirm("This is invoked from "+param);
if(conf == true)
{
invokeTest1();
}
}
function invokeTest1()
{
u.getUnity().SendMessage("Cube","test1","");
}
Thank you.
Follow this Question
Related Questions
Can the unity browser client be manipulated dynamically using html5? 0 Answers
Web Browser in a scene exporting the project to run it in the WebPlayer 0 Answers
I seriously need help figuring out how to make a webpage with my unity game in it 1 Answer
Cloud recognition in Vuforia 0 Answers
Unity3d + Android Webkit/Webview 1 Answer