Smart Perception Lite is a free "notice" component for enemies and NPCs. Add PerceptionSensor to an enemy and PerceptionTarget to the player: the enemy sees the player (field of view, distance, walls) and raises an awareness meter from Unaware to Suspicious to Alert. Your AI reads the result through properties and events and decides what to do.Moving the enemy (chase, patrol, attack) is not part of this package. The sensor tells your AI what it noticed; your AI decides how to react.Features:- Vision with partial cover: each target has several check points (feet, chest, head). A player behind a low wall is still partly visible, and the meter rises with how much of the body is seen- Central and peripheral vision: the meter rises fastest in front and close, more slowly toward the edge of the view and toward the view distance- Awareness meter with three states (Unaware, Suspicious, Alert), with a hold time, a decay and a margin so the state does not flicker- C# events and UnityEvents for state changes and for a target spotted / lost (wire them up in the Inspector, no code needed)- Scene-view gizmos: the view, a line to each check point (green = visible, red = blocked) and the state with the meter- Groups of enemies: other enemies' bodies do not block the view by default- Every setting works with its default value: add two components and press PlayDemo scene: three guards patrol a walled area. Sneak, hide behind low and tall walls, and watch the guards' state change. Built from primitive shapes only (no external assets). The character shown in the store media uses Unity's free Starter Assets, which are not included in this package.Videos:Overview: https://youtu.be/vsd2rVXo6lUSetup guide: https://youtu.be/JjSQFT_i1v8Documentation (English / Japanese):https://github.com/logicdevsupport/asset-docs/blob/main/Unity/Sense_SmartPerception_001/README_en.mdhttps://github.com/logicdevsupport/asset-docs/blob/main/Unity/Sense_SmartPerception_001/README_ja.mdWant more? Smart Perception Pro has everything in Lite (same classes, settings and events) and adds memory, hearing (noises), touch, alert calls between allies, a distance curve, several players, spreading the work over frames for many enemies, a Game-view debug display and tuning panel, and a larger demo.Smart Perception Pro: https://assetstore.unity.com/packages/slug/426874If you find this asset useful, please consider leaving a review, it really helps!---Smart Perception Lite は、敵や NPC に「気づき」を持たせる無料のコンポーネントです。敵に PerceptionSensor、プレイヤーに PerceptionTarget を付けるだけで、敵がプレイヤーを見て(視野・距離・壁)、警戒度のメーターが Unaware(気づいていない)、Suspicious(怪しい)、Alert(警戒)と上がります。結果はプロパティとイベントで受け取れるので、どう動くかはあなたの AI が決めます。敵の移動(追跡・巡回・攻撃)はこのパッケージには含まれません。センサーが「何に気づいたか」を伝え、どう反応するかはあなたの AI が決めます。主な機能:- 一部が隠れた相手も見る視覚: 相手ごとに複数の確認点(足・胸・頭)があります。低い壁の後ろのプレイヤーも一部は見え、見えている割合に応じてメーターが上がります- 中心視野と周辺視野: 正面の近くほど速く、視野の端や遠くほどゆっくりメーターが上がります- 3段階の警戒度(Unaware・Suspicious・Alert)。保持時間・下がり方・余裕幅があり、状態がちらつきません- 状態の変化、見つけた・見失ったときの C# イベントと UnityEvent(Inspector でつなげるので、コードは不要です)- Scene ビューの表示: 視野、確認点への線(緑=見える、赤=さえぎられている)、状態とメーター- 敵が複数いても大丈夫: 初期設定では、ほかの敵の体は視界をさえぎりません- どの設定も初期値のままで動きます。2つのコンポーネントを付けて Play するだけですデモシーン: 壁で囲まれた場所を3人の見張りが巡回します。忍び足で進み、低い壁や高い壁に隠れながら、見張りの状態が変わる様子を確かめられます。デモは基本図形だけで作っています(外部アセットは含みません)。ストアの画像・動画のキャラクターは Unity の無料の Starter Assets を使っており、このパッケージには含まれません。動画:紹介: https://youtu.be/vsd2rVXo6lU導入の手順: https://youtu.be/JjSQFT_i1v8説明書(日本語): https://github.com/logicdevsupport/asset-docs/blob/main/Unity/Sense_SmartPerception_001/README_ja.md日本語の説明書(README_ja)はパッケージにも入っています。上位版の Smart Perception Pro は、Lite の機能をすべて含み(クラス・設定・イベントは同じ)、記憶、聴覚(物音)、接触、仲間を呼ぶ声、距離の曲線、複数のプレイヤー、多数の敵向けの処理の分散、Game ビューのデバッグ表示と調整パネル、より大きなデモを加えた版です。Smart Perception Pro: https://assetstore.unity.com/packages/slug/426874気に入っていただけたら、レビューをいただけるととても励みになります。






