void DefAnimaPlay() { Keeper.SetActive(false); if (!Kicker.animation.isPlaying) { Kicker.transform.localPosition = new Vector3(-100.5433f, -67.64587f, 1100f); Kicker.transform.localEulerAngles = new Vector3(0, 33.15904f, 0); Kicker.transform.localScale = new Vector3(285.6049f, 285.6049f, 285.6049f); Kicker.animation.Play(DefAni [0]); /* * Kicker.transform.localPosition = new Vector3 (72.84668f, -67.58621f, 1026.265f); * Kicker.transform.localEulerAngles = new Vector3 (0, 93.64019f, 0); * Kicker.transform.localScale = new Vector3 (285.6049f, 285.6049f, 285.6049f); * Kicker.animation.Play (DefAni [1]); */ /* * Kicker.transform.localPosition = new Vector3 (36.97449f, -67.58621f, 863.2329f); * Kicker.transform.localEulerAngles = new Vector3 (0, 98.1912f, 0); * Kicker.transform.localScale = new Vector3 (285.6049f, 285.6049f, 285.6049f); * Kicker.animation.Play (DefAni [2]); */ } }