Advertisement
Guest User

Untitled

a guest
Jan 28th, 2021
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. extends Node2D
  2.  
  3. var MyArray0
  4. var MyArray1: Array
  5. var MyArray2: Array = []
  6. var MyArray3 = []
  7. var array_array = [
  8. MyArray0,
  9. MyArray1,
  10. MyArray2,
  11. MyArray3
  12. ]
  13. var checked_arrays = [
  14. # 0
  15. ]
  16.  
  17. func _ready() -> void:
  18. for item_index in array_array.size():
  19. if item_index in checked_arrays:
  20. continue
  21. var item = array_array[item_index]
  22. print("MyArray%s: " % item_index, item)
  23. item.clear()
  24.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement