Esempio n. 1
0
 private void Awake()
 {
     notificationSystem = GameObject.FindWithTag("GameController").GetComponent <NotificationSystem>();
     playerSouls        = GameObject.FindWithTag("Player").GetComponent <PlayerSouls>();
 }
Esempio n. 2
0
 private void Start()
 {
     playerSouls = FindObjectOfType <PlayerSouls>();
 }