void Start() { /*GameCenter.GetComponent<Animator>().Play("GameCenterReverse"); * Settings.GetComponent<Animator>().Play("SettingsReverse"); * PlayButton.GetComponent<Animator>().Play("PlayReverse");*/ ScoreManager.Instance.ResetScore(); HealthBar.GetComponentInParent <Animator>().Play("HealthBarTransition", -1, 0f); if (healthObject != null) { healthObject.GetComponent <Animator>().Play("HealthBarTransition", -1, 0f); healthObject1.GetComponent <Animator>().Play("HealthBarTransition", -1, 0f); } Color1.GetComponent <Animator>().Play("Color1Transition", -1, 0f); Color2.GetComponent <Animator>().Play("Color2Transition", -1, 0f); Color3.GetComponent <Animator>().Play("Color3Transition", -1, 0f); if (Color11 != null) { Color11.GetComponent <Animator>().Play("Color1Transition", -1, 0f); Color22.GetComponent <Animator>().Play("Color2Transition", -1, 0f); Color33.GetComponent <Animator>().Play("Color3Transition", -1, 0f); if (SuperButton1 != null) { SuperButton1.Play("SuperIn", -1, 0); } } SuperButton.Play("SuperIn", -1, 0); score.Play("ScoreIn"); if (score1 != null) { score1.Play("ScoreIn"); } highScore.Play("highScoreIn"); if (left != null) { left.StartGame(); right.StartGame(); } else { if (RightSpawner != null) { LeftSpawner.StartGame(); RightSpawner.StartGame(); } else { ds.StartGame(); } } }