メインコンテンツまでスキップ

CrZ Utils

CrZ Utils is the shared collection of helper scripts used across the CrZVRC assets. Most assets ship with one or more of these utilities inside their prefabs. This section documents each script and its public API for reference.

📄️CrZ_ProximityActivator

CrZ_ProximityActivator は、アセットに依存しないドロップイン式の 近接スイッチ です。トリガーコライダーを持つ GameObject に取り付けると、ローカルプレイヤーがそのコライダーの内側にいる間は対象をオンにし、外へ出るとオフにします。何をトグルしているかをこのスクリプト自身は知らないため、同じスクリプトを変更なしで複数のアセットに使い回せます。