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