x


Is there a Unity equivalent to FlashVars?

When you embed Unity content into a web page, is there an equivalent to FlashVars? I.e. I want to pass some information into the Unity game when it is embedded, can this be done?

more ▼

asked Mar 04 '10 at 08:05 PM

Amy Nelson gravatar image

Amy Nelson
15 5 5 9

(comments are locked)
10|3000 characters needed characters left

2 answers: sort oldest

Read this page in the docs about using SendMessage to pass information between Unity and the web page.

more ▼

answered Mar 04 '10 at 08:17 PM

Eric5h5 gravatar image

Eric5h5
81.5k 42 133 529

do you know anything about var in flash eric?

Mar 04 '10 at 08:23 PM Ashkan_gc
(comments are locked)
10|3000 characters needed characters left

you don't need to use something like flash vars. you can use javascript functions to call unity functions and there are methods like Application.ExternalEval () to execute javascript code on the web page. see this page.

more ▼

answered Mar 04 '10 at 08:23 PM

Ashkan_gc gravatar image

Ashkan_gc
9.3k 33 56 120

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x831
x278
x41
x13

asked: Mar 04 '10 at 08:05 PM

Seen: 1463 times

Last Updated: Mar 04 '10 at 08:05 PM