This class handles Feel's Snake demo's food objects, that the snake has to eat to score points
More...
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:
- F:/Github/Store/Feel/Assets/Feel/FeelDemos/Snake/Scripts/SnakeFood.cs