Example #1
0
    public void SetGesturesForSection(string sectionName)
    {
        gestureManager.Clear();
        List <string> gameActions = gestureManager.GetActionsForSection(sectionName);

        foreach (string gameAction in gameActions)
        {
            IGestureAction action = CreateGestureAction(gameAction);

            if (action != null)
            {
                gestureManager.AttachAction(sectionName, gameAction, action);
            }
        }
    }