Axiom.Samples.CharacterSample.CharacterSample.KeyPressed C# (CSharp) Method

KeyPressed() public method

public KeyPressed ( SharpInputSystem evt ) : bool
evt SharpInputSystem
return bool
		public override bool KeyPressed( SharpInputSystem.KeyEventArgs evt )
		{
			// relay input events to character controller
			if ( !TrayManager.IsDialogVisible )
				chara.InjectKeyDown( evt );

			return base.KeyPressed( evt );
		}
		/// <summary>