DeepSearch

From Unify Community Wiki
(Difference between revisions)
Jump to: navigation, search
(Removing all content from page)
Line 1: Line 1:
==Script==
 
<javascript>
 
  
static function deepSearch (t : Transform, s : String) : Transform
 
{
 
var dt : Transform = t.Find (s);
 
if (dt)
 
return dt;
 
else
 
{
 
for (var child : Transform in t) {
 
dt = deepSearch (child, s);
 
if (dt)
 
return dt;
 
}
 
}
 
return null;
 
}
 

Revision as of 18:24, 19 October 2009

Personal tools
Namespaces

Variants
Actions
Navigation
Extras
Toolbox