Exemplo n.º 1
0
 // Use this for initialization
 void Start()
 {
     CrystalCollectedEvent.Register(onCrystalCollected);
 }
Exemplo n.º 2
0
 // Use this for initialization
 void Start()
 {
     audioSource = GetComponent <AudioSource>();
     CrystalCollectedEvent.Register(onCrystalCollected);
 }