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