unity3d - Unity Event.current is null reference, only s_Current available -
event e = event.current;
this compiles. gives null reference execption on runtime.
using debugger find
event e = event.s_current; // ok event e = event.s_masterevent; // both these exist
those objects exist , have want, doesnt compile.
i using unity 5.0.1f1 personal. heeelp please!
http://docs.unity3d.com/documentation/scriptreference/event.html
event.current null outside of ongui(), what's causing exception.
http://answers.unity3d.com/questions/661247/using-eventsnullreferenceexception.html
Comments
Post a Comment