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); }
internal override void Shutdown() { m_KeyboardInputer = null; }
// Use this for initialization void Start() { input = key_inputer; }