<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>daidaidaily</author_name>
  <author_url>https://blog.hatena.ne.jp/daidaidaily/</author_url>
  <blog_title>dai-dai-daily</blog_title>
  <blog_url>https://daidaidaily.hatenablog.com/</blog_url>
  <categories>
    <anon>アプリ制作記</anon>
  </categories>
  <description>前回は、ボタンを押したらイベントを取得できるところまで作成しました。今回は、画面の遷移についてやりたいと思います。 画面作成→名前作成→少しのコード 前回作成した、ボタンを押したら呼ばれる関数の中で、デフォルトで用意されているGameSceneを呼び出す処理を作りたいと思います。 まずはGameSceneのCustomClass名をGameSceneにしておきます。 その後、ボタンのイベント関数の中に、コードを少し書いてGameSceneを呼ばれるようにします。 //ボタンクラスで作成したボタンが押された場合に呼ばれる関数 func Pushed(aButton: ButtonNode) { …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdaidaidaily.hatenablog.com%2Fentry%2F2018%2F06%2F02%2F224159&quot; title=&quot;アプリ制作記４　画面遷移 - dai-dai-daily&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/d/daidaidaily/20180525/20180525195050.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-06-02 22:41:59</published>
  <title>アプリ制作記４　画面遷移</title>
  <type>rich</type>
  <url>https://daidaidaily.hatenablog.com/entry/2018/06/02/224159</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
