// Use this for initialization
 void Start()
 {
     duration = 1f;
     sushiCount = 13;
     sushiFactory = GameObject.Find ("SushiFactory").GetComponent<SushiFactory>();
     cameraObject = GameObject.Find ("Main Camera");
     sushis = new WrapedSushi[sushiCount];
     for (int i = 0; i < sushis.Length; i++) {
         sushis [i] = sushiFactory.Create (i % 13, Vector3.zero, Quaternion.LookRotation (Vector3.forward));
     }
     IsVisible = false;
 }
 // Use this for initialization
 void Start()
 {
     curtain = GameObject.Find ("Curtain").GetComponent<Curtain> ();
     soundManager = GameObject.Find ("Sounds").GetComponent<SoundManager> ();
     sushiFactory = GameObject.Find ("SushiFactory").GetComponent<SushiFactory> ();
     cursor = GameObject.Find ("Cursor").GetComponent<Text> ();
     keyConfig = KeyConfig.Current;
     isFinished = false;
     isYes = false;
     isDeleting = false;
     sushi = sushiFactory.Create ((int)SushiType.Toro, Vector3.zero, Quaternion.Euler (new Vector3 (-30f, -30f, 0f)));
 }
 // Use this for initialization
 void Start()
 {
     curtain = GameObject.Find ("Curtain").GetComponent<Curtain> ();
     soundManager = GameObject.Find ("Sounds").GetComponent<SoundManager> ();
     sushiFactory = GameObject.Find ("SushiFactory").GetComponent<SushiFactory> ();
     ogoruButton = GameObject.Find ("KojikiLink").GetComponent<Button> ();
     caption = GameObject.Find ("Caption").GetComponent<Text> ();
     thanks = GameObject.Find ("Thanks").GetComponent<Text> ();
     ogoruButton.onClick.AddListener (() => {
         Application.OpenURL("http://www.amazon.co.jp/gp/registry/wishlist/2BNAH23MYZ5TM/ref=cm_wl_huc_view");
         isThanks = true;
     });
     ogoruButtonRect = GameObject.Find ("KojikiLink").GetComponent<RectTransform> ();
     canvas = GameObject.Find ("Canvas").GetComponent<Canvas> ();
     keyConfig = KeyConfig.Current;
     isFinished = false;
     isJumping = false;
     isThanks = false;
     thanks.enabled = false;
     sushi = sushiFactory.Create ((int)SushiType.Toro, Vector3.zero, Quaternion.Euler (new Vector3 (-30f, -30f, 0f)));
 }
 // Use this for initialization
 void Start()
 {
     sushiCount = 13;
     emitInterval = 0.18f;
     speed = 1f;
     sushiFactory = GameObject.Find ("SushiFactory").GetComponent<SushiFactory>();
     cameraObject = GameObject.Find ("Main Camera");
     sushis = new WrapedSushi[sushiCount];
     rsushis = new WrapedSushi[sushiCount];
     emitTimes = new float[sushiCount];
     for (int i = 0; i < sushis.Length; i++) {
         sushis [i] = sushiFactory.Create (i % 13, Vector3.zero, Quaternion.LookRotation (Vector3.forward), false);
         rsushis [i] = sushiFactory.Create (i % 13, Vector3.zero, Quaternion.LookRotation (Vector3.forward), false);
     }
     IsVisible = false;
 }