public static void DestroyAllInDungeon() { List <ISceneObjAgent> allItem = SceneMan.FindAllDragItemInDungeon(); for (int i = allItem.Count - 1; i >= 0; i--) { DragItemAgent.Destory(allItem[i] as DragItemAgent); } }