public override void start() { string name = this.param ["name"]; string tag = this.param ["tag"]; bool flag_delegate = true; List <string> images = new List <string> (); if (tag != "") { images = this.gameManager.imageManager.getImageNameByTag(tag); } else { images.Add(name); } foreach (string image_name in images) { Image image = this.gameManager.imageManager.getImage(image_name); float x = (this.param ["x"] != "") ? float.Parse(this.param ["x"]) : float.Parse(image.getParam("x")); float y = (this.param ["y"] != "") ? float.Parse(this.param ["y"]) : float.Parse(image.getParam("y")); float z = (this.param ["z"] != "") ? float.Parse(this.param ["z"]) : float.Parse(image.getParam("z")); float time = float.Parse(this.param ["time"]); string type = this.param ["type"]; //string wait = this.param ["wait"]; image.setPosition(x, y, z); //アニメーション中にクリックして次に進めるかどうか。 StatusManager.enableNextOrder = false; //処理を待たないなら if (this.param ["wait"] == "false") { StatusManager.enableNextOrder = true; this.gameManager.nextOrder(); } else { //設定するのは一つだけ if (flag_delegate == true) { flag_delegate = false; image.getObject().setFinishAnimationDelegate(this.finishAnimationDeletgate); } } image.show(time, type); } }