示例#1
0
 // Token: 0x060117A4 RID: 71588 RVA: 0x00486908 File Offset: 0x00484B08
 public void ClearHeroTrainningLevelListItems()
 {
     if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_ClearHeroTrainningLevelListItems_hotfix != null)
     {
         this.m_ClearHeroTrainningLevelListItems_hotfix.call(new object[]
         {
             this
         });
         return;
     }
     BJLuaObjHelper.IsSkipLuaHotfix = false;
     GameObjectUtility.DestroyComponentList <HeroTrainningLevelListItemUIController>(this.m_heroTrainningLevelListItems);
     this.m_heroTrainningLevelListItems.Clear();
 }
    public static int DestroyComponentList_s(IntPtr l)
    {
        int result;

        try
        {
            List <MonoBehaviour> list;
            LuaObject.checkType <List <MonoBehaviour> >(l, 1, out list);
            GameObjectUtility.DestroyComponentList <MonoBehaviour>(list);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }