Flying Piggy 2D Runner Kit  1.0
Complete 2D runner template for Unity
 All Classes Files Functions Variables Enumerations Enumerator Properties
Rotating Class Reference
Inheritance diagram for Rotating:
GameCommandReceiver

Public Member Functions

override void StartGame ()
 
override void StopGame ()
 
override void PauseGame ()
 
override void ResumeGame ()
 
- Public Member Functions inherited from GameCommandReceiver
virtual void PauseNewGame ()
 
virtual void ResumeNewGame ()
 
virtual void GameOver ()
 
virtual void WinGame ()
 
virtual void ResetGame ()
 

Public Attributes

Transform from
 
Transform to
 
float speed
 
bool useInvokeRepeating = true
 
float timeStep = 0.05f
 

Properties

bool Pause [set]
 

Detailed Description

Rotate the object forward and back

Member Function Documentation

override void Rotating.PauseGame ( )
virtual

Actions after the game is paused.

Reimplemented from GameCommandReceiver.

override void Rotating.ResumeGame ( )
virtual

Actions after the game is resumed.

Reimplemented from GameCommandReceiver.

override void Rotating.StartGame ( )
virtual

Actions after the game is started.

Reimplemented from GameCommandReceiver.

override void Rotating.StopGame ( )
virtual

Actions after the game is stopped.

Reimplemented from GameCommandReceiver.

Member Data Documentation

Transform Rotating.from
float Rotating.speed
float Rotating.timeStep = 0.05f
Transform Rotating.to
bool Rotating.useInvokeRepeating = true

Property Documentation

bool Rotating.Pause
set

The documentation for this class was generated from the following file: