Esempio n. 1
0
 private void Update()
 {
     if (InputMapper.DropButton())
     {
         for (int i = 0; i < buttons.Count; i++)
         {
             if (buttons[i].gameObject == EventSystem.current.currentSelectedGameObject)
             {
                 container.DropItem(i);
             }
         }
     }
 }