|
Hello every body, I got a little problem: How I can convert an object list javascript to c # without changing the object type, something like this: my question is, how I can preserve the value "object" in c #?. hopes any one can help me, thanks in advance.
(comments are locked)
|
|
Don't make the cs _Holder derive from monoBehaviour. Where it says just have As long as you never have to use _Holder as a component, this is the best way to do it. Thank you very much, it helps me a lot, you really save my day, I think need to do more research about all coding stuff, once again thank you.
Oct 28 '11 at 05:52 AM
3D-Magic-VR
(comments are locked)
|

I'm not sure exactly what you are trying to do here. What's going wrong here? Is the C# _Holder a MonoBehviour, or a base class? I don't quite understand the problem, I'm afraid. Is it something to do with the [System.Serializable] tag?
the _Holder in js it's public class type and the cs _Holder it's MonoBehaviour class