DoopelPonger
Public Member Functions | Public Attributes | List of all members
CoopSchmittyDoopEye Class Reference

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...

Inheritance diagram for CoopSchmittyDoopEye:
Inheritance graph
[legend]
Collaboration diagram for CoopSchmittyDoopEye:
Collaboration graph
[legend]

Public Member Functions

void Awake ()
 Initialize offset of the pupils on the eyes. More...
 
void FixedUpdate ()
 Move the pupils to track the player. More...
 
void Blink (CoopPlayer player)
 
void DeactivateRenderers ()
 Make all the renderers of the eyes go invisible. More...
 
void ActivateRenderers ()
 Make all the renderers of the eyes visible. More...
 

Public Attributes

MeshRenderer [] meshRenderers
 

Detailed Description

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.

Member Function Documentation

◆ 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
playerThe 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.

Member Data Documentation

◆ 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: