Quantcast
Channel: ClearScript
Viewing all articles
Browse latest Browse all 2297

New Post: Cannot get property of a derived class

0
0
Here's a quick hack, in HostItem class, change
target.Type.GetScriptableProperty(name, invokeFlags, bindArgs); 
to
target.Target.GetType().GetScriptableProperty(name, invokeFlags, bindArgs);
That way, it will get the property from the derived class instead.

Viewing all articles
Browse latest Browse all 2297

Latest Images

Trending Articles





Latest Images