예제 #1
0
 internal override void OnInit()
 {
     m_KeyboardInputer = new KeyboardInputer();
     m_KeyboardInputer.RegisterKeyCodeMonitor(KeyCode.F1, null, OnClickF1, null);
     m_KeyboardInputer.RegisterKeyCodeMonitor(KeyCode.F2, null, OnClickF2, null);
     m_KeyboardInputer.RegisterKeyCodeMonitor(KeyCode.F3, null, OnClickF3, null);
 }
예제 #2
0
 internal override void Shutdown()
 {
     m_KeyboardInputer = null;
 }
예제 #3
0
 // Use this for initialization
 void Start()
 {
     input = key_inputer;
 }