Stealth (grass)

During the game, a character can hide from enemies in the grass. When the character enters a 'grass' trigger (how to create it read below), he becomes invisible to opponents at a distance. If an enemy comes too close to him, then he will be detected.


How to create the grass

  1. Create a Terrain with any grass texture

  2. Add the Box Collider on it and mark it as Trigger

  3. Add the Surface script on it

  4. Set the Grass checkbox