Schmitty Doop's eyes will follow a player and blink. Every time the eyes blink it can change which player too look at. This class controls a single eye on Schmitty Doop.
More...
Schmitty Doop's eyes will follow a player and blink. Every time the eyes blink it can change which player too look at. This class controls a single eye on Schmitty Doop.
◆ ActivateRenderers()
void CoopSchmittyDoopEye.ActivateRenderers |
( |
| ) |
|
Make all the renderers of the eyes visible.
◆ Awake()
void CoopSchmittyDoopEye.Awake |
( |
| ) |
|
Initialize offset of the pupils on the eyes.
◆ Blink()
void CoopSchmittyDoopEye.Blink |
( |
CoopPlayer |
player | ) |
|
- Parameters
-
player | The new player the pupils should look at. |
◆ DeactivateRenderers()
void CoopSchmittyDoopEye.DeactivateRenderers |
( |
| ) |
|
Make all the renderers of the eyes go invisible.
◆ FixedUpdate()
void CoopSchmittyDoopEye.FixedUpdate |
( |
| ) |
|
Move the pupils to track the player.
◆ meshRenderers
MeshRenderer [] CoopSchmittyDoopEye.meshRenderers |
There are several renderers that make up the eyes of Schmitty Doop: pupils, white part, and the eye lids of the closed eyes.
The documentation for this class was generated from the following file: