This class handles the penguin "enemies" in the Flappy Cloud demo level. It's pretty specific.
More...
|
float | SkyBottomY |
| the Y coordinate above which we want our penguins to appear More...
|
|
float | SkyTopY |
| the Y coordinate below which we want our penguins to appear More...
|
|
This class handles the penguin "enemies" in the Flappy Cloud demo level. It's pretty specific.
◆ OnSpawnComplete()
virtual void MoreMountains.InfiniteRunnerEngine.FlappyCloudPenguin.OnSpawnComplete |
( |
| ) |
|
|
protectedvirtual |
When the penguin becomes activated (when it's spawned by a DistanceSpawner in our case)
◆ Start()
void MoreMountains.InfiniteRunnerEngine.FlappyCloudPenguin.Start |
( |
| ) |
|
|
protected |
On Start, we determine the middle line between the bottom and top of their spawning zone.
◆ _middleY
float MoreMountains.InfiniteRunnerEngine.FlappyCloudPenguin._middleY |
|
protected |
◆ _oddVector
Vector3 MoreMountains.InfiniteRunnerEngine.FlappyCloudPenguin._oddVector = new Vector3(1, -1, 1) |
|
protected |
◆ _renderer
Renderer MoreMountains.InfiniteRunnerEngine.FlappyCloudPenguin._renderer |
|
protected |
◆ SkyBottomY
float MoreMountains.InfiniteRunnerEngine.FlappyCloudPenguin.SkyBottomY |
the Y coordinate above which we want our penguins to appear
◆ SkyTopY
float MoreMountains.InfiniteRunnerEngine.FlappyCloudPenguin.SkyTopY |
the Y coordinate below which we want our penguins to appear
The documentation for this class was generated from the following file: