示例#1
0
 private void ShowInventory(bool show)
 {
     InventoryUI.ShowInventory(show);
     ChatUI.HideChat(show);
     UnityEngine.PostProcessing.PostProcessingProfile profile = PlayerCamera.instance.GetComponent <UnityEngine.PostProcessing.PostProcessingBehaviour>().profile;
     profile.depthOfField.enabled = show;
 }