// Use this for initialization
 void Start()
 {
     demonEscape = demon.GetComponent <DemonEscapeScript> ();
     nextScene   = "Win Screen";
     audioS      = GetComponent <AudioSource>();
 }
Пример #2
0
	// Use this for initialization
	void Start () 
	{
		demonEscape = demon.GetComponent<DemonEscapeScript> ();
        nextScene = "Win Screen";
        audioS = GetComponent<AudioSource>();
	}