Пример #1
0
	// Use this for initialization
	void Start () {
		intro = FindObjectOfType<IntroSequenceManager>();
		healthDisplay = FindObjectOfType<HealthDisplay>();
		SpawnPlayer();
		
	}
 // Use this for initialization
 void Start()
 {
     instance = this;
 }
Пример #3
0
 // Use this for initialization
 void Start()
 {
     panel = GetComponent <Image>();
     intro = FindObjectOfType <IntroSequenceManager>();
     gameObject.SetActive(true);
 }