コード例 #1
0
 private void SetFields()
 {
     if (playerCamera)
     {
         playerCamera.SetPlayer(player);
     }
     if (dialogueManager)
     {
         dialogueManager.SetPlayer(player);
     }
     if (quickSlot)
     {
         quickSlot.SetPlayer(player);
     }
     if (mainInventory)
     {
         mainInventory.SetPlayer(player);
     }
 }