예제 #1
0
 /// <summary>
 /// Update method of the class
 /// </summary>
 private void Update()
 {
     if (Input.GetKeyDown((KeyCode)(id + 48)))
     {
         inventory.EquipItem(this);
     }
 }