This class handles Feel's Snake demo's food objects, that the snake has to eat to score points.
More...
|
| virtual IEnumerator | MoveFood () |
| | Moves the food to another spot.
|
This class handles Feel's Snake demo's food objects, that the snake has to eat to score points.
◆ MoveFood()
| virtual IEnumerator MoreMountains.Feel.SnakeFood.MoveFood |
( |
| ) |
|
|
protectedvirtual |
Moves the food to another spot.
- Returns
◆ _snake
| Snake MoreMountains.Feel.SnakeFood._snake |
|
protected |
◆ AppearFeedback
| MMFeedbacks MoreMountains.Feel.SnakeFood.AppearFeedback |
a feedback to play when food appears
◆ EatFeedback
a feedback to play when food gets eaten
◆ Model
| GameObject MoreMountains.Feel.SnakeFood.Model |
the food's visual representation
◆ OffDelay
| float MoreMountains.Feel.SnakeFood.OffDelay = 1f |
a duration (in seconds) during which the food is inactive before moving it to another position
◆ Spawner
The documentation for this class was generated from the following file:
- H:/Code/MoreMountains/feel/Assets/Feel/FeelDemos/Snake/Scripts/SnakeFood.cs