Garry's Mod Wiki

PANEL:AnimationThink

PANEL:AnimationThink

  PANEL:AnimationThink()

Description

Called every frame unless Panel:IsVisible is set to false. Similar to PANEL:Think, but can be disabled by Panel:SetAnimationEnabled as explained below.

If you are overriding this, you must call Panel:AnimationThinkInternal every frame, else animations will cease to work.

If you want to "disable" this hook with Panel:SetAnimationEnabled, you must call it after defining this hook. Once disabled, a custom hook will not be re-enabled by Panel:SetAnimationEnabled again - the hook will have to be re-defined.

Special Pages


Wikis

?

Render Time: 61ms

DB GetPage 46
Generate Html 1
SaveChanges (1) 5
Render Body 0
Render Sidebar 6