Animation.playAutomatically Manual     Reference     Scripting  
Scripting > Runtime Classes > Animation
Animation.playAutomatically

var playAutomatically : bool

Description

Should the default animation clip (Animation.clip) automatically start playing on startup.

animation.playAutomatically = true;