Пример #1
0
    void Awake()
    {
        m_keyToFlow[KeyCode.UpArrow]    = FSNInGameSetting.FlowDirection.Up;
        m_keyToFlow[KeyCode.DownArrow]  = FSNInGameSetting.FlowDirection.Down;
        m_keyToFlow[KeyCode.LeftArrow]  = FSNInGameSetting.FlowDirection.Left;
        m_keyToFlow[KeyCode.RightArrow] = FSNInGameSetting.FlowDirection.Right;

        m_input = new InputSession();
    }
    void Awake()
    {
        m_keyToFlow[KeyCode.UpArrow]	= FSNInGameSetting.FlowDirection.Up;
        m_keyToFlow[KeyCode.DownArrow]	= FSNInGameSetting.FlowDirection.Down;
        m_keyToFlow[KeyCode.LeftArrow]	= FSNInGameSetting.FlowDirection.Left;
        m_keyToFlow[KeyCode.RightArrow]	= FSNInGameSetting.FlowDirection.Right;

        m_input	= new InputSession();
    }