Ejemplo n.º 1
0
 protected override void HandleGameEvent(EmitterGameEvent gameEvent)
 {
     if (TriggerEvent == gameEvent)
     {
         TriggerParameters();
     }
 }
Ejemplo n.º 2
0
 void HandleGameEvent(EmitterGameEvent gameEvent)
 {
     if (TriggerEvent == gameEvent)
     {
         TriggerParameters();
     }
 }
 void HandleGameEvent(EmitterGameEvent gameEvent)
 {
     if (TriggerEvent == gameEvent)
     {
         TriggerParameters();
     }
 }
		void HandleGameEvent (EmitterGameEvent gameEvent)
		{
			if (PlayEvent == gameEvent) {
				Play ();
			}
			if (StopEvent == gameEvent) {
				Stop ();
			}
		}
Ejemplo n.º 5
0
 protected override void HandleGameEvent(EmitterGameEvent gameEvent)
 {
     if (PlayEvent == gameEvent)
     {
         Play();
     }
     if (StopEvent == gameEvent)
     {
         Stop();
     }
 }
 void HandleGameEvent(EmitterGameEvent gameEvent)
 {
     if (PlayEvent == gameEvent)
     {
         Play();
     }
     if (StopEvent == gameEvent)
     {
         Stop();
     }
 }
Ejemplo n.º 7
0
        void CheckGameEvent(EmitterGameEvent gameEvent)
        {
            if (gameEvent == StartSound)
            {
                Play();
            }

            if (gameEvent == StopSound)
            {
                Stop();
            }
        }
Ejemplo n.º 8
0
 protected abstract void HandleGameEvent(EmitterGameEvent gameEvent);