Keep Looking Jumpscare
This smart asset belongs to the following package:
- com.yahaha.sdk.horrorgameassets
 
The Keep Looking Jumpscare is a jumpscare triggered when the player looks away from a particular object.

| Attributes | Description | 
|---|---|
| Disable Character Control | Toggle to prevent players from moving when the jumpscares are in progress. | 
| Jumpscare Time | Time in seconds that the jumpscare lasts. | 
| Animation Clip | Specify the jumpscare animation. | 
| Jumpscare Delay | Time interval in seconds for jumpscare trigger after the player looks away. | 
Events and Actions
Events
- OnObjectFound: When the player looks at the target object in the scene.
 - OnLookingAtObjectStop: When the player stops looking at the object.
 - OnJumpscareStart: When the jumpscare starts.
 - OnJumpscareEnd: When the jumpscare ends.
 
Actions
- StartLookingCheck: Begin checking if the player is looking at the target object within the scene.
 - StopLookingCheck: End checking if the player is looking at the target object within the scene.
 - StartJumpscare: Begin jumpscaring.