2 using System.Collections;
6 public GameObject sphere;
14 public void activateSphere()
16 Animator sphereAnimator = sphere.GetComponent<Animator> ();
17 sphereAnimator.SetTrigger (
"Activate");
18 sphere.GetComponent<MeshRenderer> ().material.SetFloat (
"_AppearAmount", 0);
21 sphere.SetActive (
true);