Sign in to follow this  
Combined

UNITY 3D Script

Recommended Posts

I don't quite understand the question.
I assume you've already built the game for web? Otherwise you wouldn't have the output HTML file Unity generates for you.
To use the new script you must add it to the game before you build it and do what you want with it in code (either C#, Unity-Script or Boo).

You can call functions on objects which already exist in the built file from JavaScript in the HTML file you're given, but you still need to add the new script before building.

Does that help? We need more information to give you a better answer.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this