Exemplo n.º 1
0
 public void OnEvent(StartPlayingEvent e)
 {
     // todo Fading
     ambient2.volume = 1;
     welcome.Play();
 }
Exemplo n.º 2
0
 public void OnEvent(StartPlayingEvent e)
 {
     GetComponentInChildren <Animator>().SetBool("open", true);
 }
 public void OnEvent(StartPlayingEvent e)
 {
     EventBus.Unregister(this);
     GameObject.Destroy(gameObject);
 }