Advertisement
Guest User

Untitled

a guest
Jun 22nd, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. public void Func_RemoveAllBlock()
  2. {
  3. int iBlock = -1;
  4.  
  5. for (int iIndex = 0; iIndex < arBlockMakerList.Length; iIndex++)
  6. {
  7. iBlock = arBlockMakerList.Get(iIndex);
  8.  
  9. if (iBlock != -1)
  10. {
  11. AcceptEntityInput(iBlock, "kill");
  12. arBlockMakerData[iIndex].Clear();
  13. arBlockMakerList.Erase(iIndex);
  14. }
  15. }
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement