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