public void showDropItem(Vector3 pos, List <DropItemdta> vecItem, bool isfake = false) { if (GRMap.grmap_loading) { return; } if (vecItem.Count > 0) { drop_data d = new drop_data(); d.data = vecItem; d.vec = pos; d.isfake = isfake; list.Add(d); } initDropOffset(); }
public void showDropItem(Vector3 pos, List <DropItemdta> vecItem, bool isfake = false) { bool loading = GRMap.loading; if (!loading) { bool flag = vecItem.Count > 0; if (flag) { drop_data item = default(drop_data); item.data = vecItem; item.vec = pos; item.isfake = isfake; this.list.Add(item); } this.initDropOffset(); } }