Esempio n. 1
0
 public void colorToDefault()
 {
     skillButton.gameObject.GetComponentInChildren <Image> ().color = new Color32(20, 65, 96, 255);
     matchButton.gameObject.GetComponentInChildren <Image> ().color = new Color32(20, 65, 96, 255);
     homeButton.gameObject.GetComponentInChildren <Image> ().color  = new Color32(20, 65, 96, 255);
     TweenController.TweenTextScale(skillButton.transform.GetChild(0).transform, Vector3.one, 0.2f);
     TweenController.TweenTextScale(matchButton.transform.GetChild(0).transform, Vector3.one, 0.2f);
     TweenController.TweenTextScale(homeButton.transform.GetChild(0).transform, Vector3.one, 0.2f);
 }
 public void TweenCallBack()
 {
     TweenController.TweenTextScale(gpText.transform, Vector3.one, 1.0f);
     gpText.GetComponent <Text> ().text = " ";
 }
 private void GpGotEffect(GameObject gpText)
 {
     gpText.GetComponent <Text> ().text = "1 GP";
     TweenController.TweenTextScale(gpText.transform, new Vector3(3, 3, 3), 1.0f);
 }
 public void OnCloseSkillOverView()
 {
     TweenController.TweenTextScale(skillOverViewScreen.transform, new Vector3(1, 1, 1), 0.5f);
     skillOverViewScreen.SetActive(false);
 }