A Unity ID allows you to buy and/or subscribe to Unity products and services, shop in the Asset Store and participate in the Unity community.
Separate names with a comma.
Try this: hit.transform.gameObject.GetComponent(scriptName).* A collider is a component of a game object as well as it is a script, I guess...
Hello, How can structs be used within c++ and C#? I mean from what Ive read there are structs in C#, so how can I use structs with c++ plugins?...
Can u tell me please how do you enable unsafe compilation in the compiler options? Thanks a lot, Tomas :)
Thanks a lot! Ill look up for the coroutines stuff. What u explained bring me other questions: If an Update cannot be interrupted how is...
Hello, Im wondering if there is a fixed time slot for the execution of an update. Is there preemption? If so, what does it happen when an update...
Cool! Thanks a lot! Tomas
Hello, How can I pass a string from my C# script to my C++ plugin and get it as a char * ? is that possible? Thanks a lot
Well i dont know then, here it is the complete code: typedef void* MonoArray; enum { kMonoArrayOffset = 0}; /*return the i element of...
Ok, right now it is working with the arrays, I pass an array to C++ plugin and it can be used as an in out parameter. The code in C#:...
Ive already submited. The thing right now it is really weird: I try to launch unity with my project and I get that error, but if I keep trying...
Hi, When launching Unity, to work with a project that was working perfectly, it raises this error: Error #-61 while initializing...
Thanks a lot again, one and hope last question about it. In the C++ plugin I have the function: int TestPluginFunction(MonoArray vec)...
Thanks a lot. Its great there is a way to do it! I have two more questions: Which library should I include in my c++ plugin to be able to...
Hi, I would like to pass two arrays from unity to my c++ plugin, one is filled with data from unity so the plugin will perfom some operations...
Thanks for your quick reply, Yes, the permissions are set to both read write, and yes apply to enclosed items works, I tried it several...
Hi, When I launch unity to open a project that was working perfectly it crushes displaying the following message: Fatal error! Couldn't copy...
Thank you so much
Hello, How can I cast a float as a integer in JavaScript? Ive tried: var Aint = (int) Bfloat; var Aint = int (Bfloat); but both...
Great there is way! The thing is a have no experience at all with .NET, can u give me any hint please? Thanks a lot
Anyone knows if it is possible to read files under unity? I mean, I know that for example it is not possible with JavaScript itself but, it is...