- Unity 6.2 → 6.3 업그레이드 - Beautify URP 에셋 업데이트 - Stylized Water 3 에셋 제거 - PIDI Planar Reflections shadergraph 업데이트 - 각종 메타파일 및 에셋 파일 Unity 6.3 호환 업데이트 - lilToon, AmplifyShaderEditor 등 외부 에셋 설정 변경 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
19 lines
484 B
C#
19 lines
484 B
C#
using UnityEngine;
|
|
using Beautify.Universal;
|
|
using Input = Beautify.Demos.InputProxy;
|
|
|
|
namespace Beautify.Demos {
|
|
|
|
public class ToggleDoF : MonoBehaviour {
|
|
|
|
void Update() {
|
|
if (Input.GetMouseButtonDown(0)) {
|
|
// toggles DoF state by overriding the volume property
|
|
bool state = BeautifySettings.settings.depthOfField.value;
|
|
BeautifySettings.settings.depthOfField.Override(!state);
|
|
}
|
|
}
|
|
|
|
}
|
|
}
|