static Transform _FindEye( Transform head, bool isRight )
{
if( head != null ) {
string[] keywords = isRight ? _RightKeywords : _LeftKeywords;
int childCount = head.childCount;
for( int i = 0; i < childCount; ++i ) {
Transform child = head.GetChild( i );
if( child != null ) {
string name = child.name;
if( name != null ) {
name = name.ToLower();
if( name != null && name.Contains( "eye" ) ) {
for( int n = 0; n < keywords.Length; ++n ) {
if( name.Contains( keywords[n] ) ) {
return child;
}
}
}
}
}
}
}
return null;
}