Tell me please, why conditions above don't occur? But if I replace an object "light" on "Sprite" object, it works!
Develop games in your browser. Powerful, performant & highly capable.
might be a bug, or it might be something else. Try recreating it again to make sure it's not something you're doing. If it's not you, it's a bug, so report it good sir, I mean ma'am.
may be it's a bug.
But what's about you? Do private variables work with object Light? Or just me have such problem..
Looks like a bug, submit a bug report.