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