leapmotion / LeapMotionCoreAssets

Unity Assets for Leap Motion v2 Skeletal Tracking
Apache License 2.0
166 stars 81 forks source link

Layer Util #135

Closed Amarcolina closed 9 years ago

Amarcolina commented 9 years ago

Created the LayerUtil class, which allows our scripts to use layers without specifying them in the tag settings. It dynamically finds and assigns names to empty layers so that usage is basically the same as usual, when using the LayerMask class.

@RandomOutput @yuwilbur

Amarcolina commented 9 years ago

After thinking about this for a little bit, I don't like that there is no edit time assurances or safety. I think I will close this until a more robust solution can be found.