IsLookingEnabled - InputEnableLayer

Revision as of 16:47, 12 February 2013 by imported>Plplecuyer (→‎Syntax)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Member of: InputEnableLayer Script

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

SyntaxEdit

bool Function IsLookingEnabled() native

ParametersEdit

None.

Return ValueEdit

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

ExamplesEdit

; Is this layer disabling looking?
if myLayer.IsLookingEnabled()
  Debug.Trace("Player can look around (assuming no one else is blocking)!")
endIf

See AlsoEdit