예제 #1
0
 public void Update()
 {
     if (onPlayer != null && onPlayer.collected)
     {
         onPlayer.CarryMe(colectedItemTransform);
     }
     if (Input.GetKeyDown(KeyCode.E))
     {
         collectablePanel.SetActive(value: collectablePanel.active ? false : true);
     }
 }