Application communication

Hello people, I’m new at unity3d and I’ve the next problem:

I’ve diferent scenes and I need that they comunicate between each other.

For example I’ve loaded a class in the first application and i want the same class on the next application.

Is that possible or I’ve to write files in the first application and read them on the other one?

Thank you in advance! :wink:

Not sure I fully understand your question but I’ll give it a shot… and shoot me if I answer incorrectly! :wink:

If I were wanting to create classes that were relevant (or reusable) between different projects I would create them in Visual Studio or MonoDevelop (on OSX) and put them in a .dll (library). I would then import them into Unity to use.

If you want two applications to communicate with each other remotely you need to look at the Network class: Unity - Scripting API: Network

If you need to share data between applications you may be able to use XML???

Then you talk about scenes communicating with each other (maybe somebody else can help you here).

You may need to elaborate as you mention scenes and applications, not sure if you mean scenes in the same app or the same scene in different apps! :!:

Ta

JT

No, what I ment is that I’ve diferent scenes in my project and I want that they can comunicate between eachother (if it’s possible without read/write any file)

Thanks again!

You can use “Don’t destroy on load” or a static class
Look here
http://forum.unity3d.com/viewtopic.php?t=13729&highlight=static+class

Thank you :wink: :wink: