// Use this for initialization void Start() { //bgm = gameObject.GetComponent<AudioSource>(); se = GameObject.Find("SoundEffect").GetComponent <TitleSE>(); key = GameObject.Find("PressAnyKey").GetComponent <ChangeAlpha>(); fade = GameObject.Find("FadePanel").GetComponent <ChangeAlpha>(); }
// Use this for initialization void Start() { ani = GetComponent <Animator> (); ca = transform.GetChild(0).GetComponent <ChangeAlpha> (); }