Esempio n. 1
0
 public ALittleScriptGuessStructName(string p_namespace_name, string p_struct_name
                                     , ALittleScriptStructNameDecElement p_struct_name_dec)
 {
     is_register     = ALittleScriptUtility.IsRegister(p_struct_name_dec);
     namespace_name  = p_namespace_name;
     struct_name     = p_struct_name;
     struct_name_dec = p_struct_name_dec;
 }
 public ALittleScriptStructNameDecElement GetStructNameDec()
 {
     if (m_flag_StructNameDec)
     {
         return(m_cache_StructNameDec);
     }
     m_flag_StructNameDec = true;
     foreach (var child in m_childs)
     {
         if (child is ALittleScriptStructNameDecElement)
         {
             m_cache_StructNameDec = child as ALittleScriptStructNameDecElement;
             break;
         }
     }
     return(m_cache_StructNameDec);
 }