public ALittleScriptGuessEnumName(string p_namespace_name, string p_enum_name , ALittleScriptEnumNameDecElement p_enum_name_dec) { is_register = ALittleScriptUtility.IsRegister(p_enum_name_dec); namespace_name = p_namespace_name; enum_name = p_enum_name; enum_name_dec = p_enum_name_dec; }
public ALittleScriptEnumNameDecElement GetEnumNameDec() { if (m_flag_EnumNameDec) { return(m_cache_EnumNameDec); } m_flag_EnumNameDec = true; foreach (var child in m_childs) { if (child is ALittleScriptEnumNameDecElement) { m_cache_EnumNameDec = child as ALittleScriptEnumNameDecElement; break; } } return(m_cache_EnumNameDec); }