IsCamSwitchEnabled - InputEnableLayer

Member of: InputEnableLayer Script

Checks to see if camera switch controls are currently enabled on this layer or not.

SyntaxEdit

bool Function IsCamSwitchEnabled() native

ParametersEdit

None.

Return ValueEdit

If the camera switch controls are currently enabled on this layer or not.

ExamplesEdit

; Are the camera switch controls enabled on this layer?
if myLayer.IsCamSwitchEnabled()
  Debug.Trace("Player can switch cameras (assuming no one else is blocking)!")
endIf

See AlsoEdit