11,000 種類を超える 5 つ星アセット

8.5 万人以上の顧客による評価

10 万人を超えるフォーラムメンバーが支持

すべてのアセットを Unity が審査済み

1/5
The SensingComponent script enables game objects to detect other objects within a vision cone and respond to noise events within a specified range, making it ideal for AI behaviors in Unity.
SRP との互換性
Unity のスクリプタブルレンダーパイプライン(SRP)は、C# スクリプトを使用してレンダリングを制御できる機能です。SRP は、ユニバーサルレンダーパイプライン(URP)と HD レンダーパイプライン(HDRP)を支えるテクノロジーです。
Unity のバージョンビルトインURPHDRP
2022.3.22f1
互換性がある
互換性がある
互換性がある
詳細

The SensingComponent script is a versatile Unity component designed to enhance AI perception by providing vision and hearing capabilities. With customizable vision radius, length, and segments, the script detects objects within a defined vision cone and triggers the OnGameObjectSeen event. Additionally, it supports auditory detection, allowing game objects to react to noise events reported by other objects through the OnNoiseHeard event. The component includes debugging features to visualize the vision cone in the Unity Editor, ensuring accurate setup and functionality. Ideal for creating immersive AI behaviors, this script is essential for developers looking to implement advanced perception systems in their games.



Sensing Component Documentation


Discord

技術的な詳細

The SensingComponent script provides vision and hearing detection capabilities for Unity game objects. Key features include:

  • Vision Detection: Configurable vision cone with visionRadius, visionLength, and visionSegments. Objects within the cone trigger the OnGameObjectSeen event.
  • Hearing Detection: Static ReportNoise method allows other objects to report noise events. The OnNoiseHeard event is triggered if the noise volume exceeds the maxHearingVolume and hearing is enabled.
  • Debugging: Visualize the vision cone in the Unity Editor using Gizmos for accurate setup.
  • Coroutines: Vision detection runs on a coroutine with a customizable interval (sensingInterval), ensuring efficient and periodic checks.
  • Event Handling: Methods HandleGameObjectSeen and HandleNoiseHeard provide customizable responses to vision and hearing events.

Sensing Component

(評価数が不足しています)
8 users have favourite this asset
(8)
$25
シート
1
更新された価格と消費税/VAT はチェックアウト時に計算
払い戻しポリシー
このアセットは Unity アセットストアの払い戻しポリシーの対象です。詳細については、EULA のセクション 2.9.3 を参照してください。
以下で安全にチェックアウト:
Supported payment methods: Visa, Mastercard, Maestro, Paypal, Amex
ライセンス
ファイルサイズ
819.1 KB
最新バージョン
1.0
最新リリース日
2024年7月29日
オリジナルの Unity バージョン
2022.3.22
高品質なアセット
11,000 種類を超える 5 つ星アセット
信頼がある
8.5 万人以上の顧客による評価
コミュニティが支持
10 万人以上のフォーラムメンバーが支持
Unity logo
言語選択
フィードバック
パートナープログラム
パートナー
USD
EUR
Copyright © 2025 Unity Technologies
全ての表示価格には消費税は含まれていません
USD
EUR