Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -------------------------------------------
- --Little snippet to paste whereever you need
- -- I used it several places for debuggung in storyboard API, this way I can check different groups
- -- and variables for content or if the exist
- -- All the variables used here is of course relevant only to my code so this need to be exchanged with your vars
- -------------------------------------------
- print("@@@@@@@@@@@@@@@@@ DEBUGGING FOR TERMINAL OUTPUT @@@@@@@@@@@")
- if gameGroup then print("gameGroup children ", gameGroup.numChildren ) end
- if screenGroup then print("ScreenGroup children ", screenGroup.numChildren ) end
- if button then print("button ", #button) end
- if buttonCover then print("buttonCover ", #buttonCover) end
- if buttonImages then print("buttonImages ", #buttonImages) end
- if lastButton then print("lastButton ", #lastButton) end
- if defaultBg then print("bgImage ", defaultBg.name) end
- print("@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@")
Add Comment
Please, Sign In to add comment