|
Hello, I'm having a problem with my "getcomponent" and I'm unsure what to do. Here is where it is giving me the error. This is from java script it is trying to get a class out of a c# script.
and this is the error its giving me.
Thanks if you help me.
(comments are locked)
|
|
If you have the C# script compiled earlier, then you can use If it's not possible to have the C# script compiled earlier, then you have to do Using strings returns Component instead of the type, but that relies on dynamic typing, so _NetworkRigidbody becomes Object instead of NetworkRigidbody, which won't work in a non-#pragma strict environment. Now I'm getting an error in this _NetworkRigidbody.enabled = false; the error is Assets/NetworkFiles/Plugins/RigidAssign.js(14,40): BCE0005: Unknown identifier: 'NetworkRigidbody'.
Jan 15 '12 at 06:54 PM
twoface262
(comments are locked)
|
