public static void TriggerBlowEnd(MicEventArgs eventArgs = null) {
			if (BlowEnd != null)
				BlowEnd (eventArgs);
		}
	    public static void TriggerSoundCapEnd(MicEventArgs eventArgs = null) {
			if (SoundCapEnd != null)
				SoundCapEnd (eventArgs);                
		}
		public static void TriggerBlowBegin(MicEventArgs eventArgs = null) {
			if (BlowBegin != null)
				BlowBegin (eventArgs);           
		}
	    public static void TriggerSoundCapBegin(MicEventArgs eventArgs = null) {
			if (SoundCapBegin != null)
				SoundCapBegin (eventArgs);           
		}
Exemple #5
0
		void OnSoundCapBegin(MicEventArgs eventArgs) {
			if (_listening && eventArgs.OriginID == "wolf") {
				CurrentAnimationState = STATE_AWAKEN;
			}
		}
Exemple #6
0
		void OnBlowBegin(MicEventArgs eventArgs) {
			if (CurrentAnimationState == STATE_OPEN_SMALL) {
				CurrentAnimationState = STATE_OPEN_WIDE;
			}
		}
Exemple #7
0
		void OnSoundCapBegin(MicEventArgs eventArgs) {
			if (!clicked && firstSentenceDone) {
				TriggerLastSentence (0.5f);
			}
		}
		void OnSoundCapBegin(MicEventArgs eventArgs) {
			if (eventArgs.OriginID == "brother" && CurrentAnimationState == STATE_REVEAL) {
				CurrentAnimationState = STATE_BOUNCE_TO_FRONT;
			}
		}