Make _layerMask a member var instead a static var

Unity display an error message on startup otherwise.