예제 #1
0
        //private ArmedPawn m_armedPawn;

        protected override void Awake()
        {
            base.Awake();

            m_pawnActionButton.Key = GamepadInput.GetKeyCode(m_pawnActionButton.Button, m_inputNum);

            foreach (TowerActionButton handler in m_armedPawnActionButtons)
            {
                handler.Key = GamepadInput.GetKeyCode(handler.Button, m_inputNum);
            }

            foreach (GenericActionButton handler in m_genericActionButtons)
            {
                handler.Key = GamepadInput.GetKeyCode(handler.Button, m_inputNum);
            }
        }