title: How to access variables from another SKScene in Swift SpriteKit
body: <p>I have been having problems with accessing variables from other classes. Here is my code.
  This is the class I am trying to access the variable "lastSelection" It is also the first SKScene called to view.</p>
  
  <pre><code>class FighterPlaneselect : SKScene {
      var lastSelection:String = ""
  
      override func didMoveToView(view: SKView)  {
          if(true) {
              lastSelection = "Mustang"
          }
      }
  }
  //Here is the second class called "GameField"
  class GameField : SKScene {
      var FighterPlane : FighterPlaneSelect!
      override func didMoveToView(view: SKView) {
          FighterPlane = FighterPlaneSelect()
          print(FighterPlane.lastSelection)
      }
  }
  </code></pre>
  
  <p>Whenever it prints out it prints "". It should be printing "Mustang".</p>