Guest User

Untitled

a guest
Jan 20th, 2019
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. self.addChild(pauseHomeButton) // Button node to return to home screen, with alpha 0
  2. pauseHomeButton.run(SKAction.fadeAlpha(to: 1, duration: .5))
  3.  
  4. self.speed = 0
  5. self.isPaused = true
Add Comment
Please, Sign In to add comment