Platformer Pro  2.3.2
A platform game kit for Unity.
PlatformerPro.DeathAction Class Reference

Data for an action that occurs at death (or on game over). More...

Public Attributes

DeathActionType actionType
 What to do. More...
 
float delay
 How long to wait before doing it. More...
 
string supportingData
 A string for the scene (for DeathActionType.LOAD_ANOTHER_SCENE) or message name (for DeathActionType.SEND_MESSAGE). More...
 
GameObject supportingGameObject
 Game object to receive messages (for DeathActionType.SEND_MESSAGE); More...
 

Detailed Description

Data for an action that occurs at death (or on game over).

Member Data Documentation

◆ actionType

DeathActionType PlatformerPro.DeathAction.actionType

What to do.

◆ delay

float PlatformerPro.DeathAction.delay

How long to wait before doing it.

◆ supportingData

string PlatformerPro.DeathAction.supportingData

A string for the scene (for DeathActionType.LOAD_ANOTHER_SCENE) or message name (for DeathActionType.SEND_MESSAGE).

◆ supportingGameObject

GameObject PlatformerPro.DeathAction.supportingGameObject

Game object to receive messages (for DeathActionType.SEND_MESSAGE);


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