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

Public Member Functions

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

Public Attributes

Vector2 range
 
float speed
 
bool useInvokeRepeating = true
 
float timeStep = 0.1f
 

Properties

bool Pause [set]
 

Detailed Description

Floating object

Member Function Documentation

override void Floating.PauseGame ( )
virtual

Actions after the game is paused.

Reimplemented from GameCommandReceiver.

override void Floating.ResumeGame ( )
virtual

Actions after the game is resumed.

Reimplemented from GameCommandReceiver.

override void Floating.StartGame ( )
virtual

Actions after the game is started.

Reimplemented from GameCommandReceiver.

override void Floating.StopGame ( )
virtual

Actions after the game is stopped.

Reimplemented from GameCommandReceiver.

Member Data Documentation

Vector2 Floating.range
float Floating.speed
float Floating.timeStep = 0.1f
bool Floating.useInvokeRepeating = true

Property Documentation

bool Floating.Pause
set

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