Jump to content

gcewing

Members
  • Posts

    4
  • Joined

  • Last visited

Reputation

0 Neutral
  1. How do I get hold of a KeyEventArgs? Unity gives me a UnityEngine.Event, which doesn't seem to have a Handled property.
  2. I have a part with a GUI window that needs to intercept keyboard events when it has focus. The window is receiving the events okay. My problem is that they *also* trigger whatever actions are bound to the keys in the main game. I don't want that to happen! I've tried calling Event.current.Use() in my event handler, but it doesn't seem to make any difference. The game seems to either ignore that or respond to the events before passing them to my window. Anyone have any suggestions?
  3. Is there any way to control which RCS fuel tanks get drained first? I have two stages, with RCS tanks and thrusters on each stage. I want the fuel from the lower tank to get used first, keeping the fuel in the upper tank for later when I've jettisoned the lower stage. But that's not what happens -- fuel gets used from the upper tank from the beginning. Is there anything that can be done about this?
×
×
  • Create New...