C# Class WarpTransport, gmap377_leathGloves_inc

Inheritance: MonoBehaviour
Afficher le fichier Open project: bi3mer/gmap377_leathGloves_inc

Méthodes publiques

Свойство Type Description
destinationWarpPad GameObject
onEffect ParticleSystem
planetBosses GameObject[]
shakeIntensity float
transportDelaySeconds float
warpToPlanetName string

Méthodes publiques

Méthode Description
ActivateTeleport ( ) : void

Plays the particle effect

DeactivateTeleport ( ) : void

Stops the particle effect

DisableBosses ( ) : void
EnableBosses ( ) : void
OnApplicationQuit ( ) : void

Unsubscribe the events!

OnDestroy ( ) : void
OnTriggerStay ( Collider collider ) : void

When the player stays within the collider, call this to teleport the player

Start ( ) : void

Subscribe to activate and deactivate, and initialize the particle effect

Private Methods

Méthode Description
TransportAfterTime ( ) : IEnumerator

Delays for transportDelaySeconds then moves the player and re-enables the ForceMover script

Method Details

ActivateTeleport() public méthode

Plays the particle effect
public ActivateTeleport ( ) : void
Résultat void

DeactivateTeleport() public méthode

Stops the particle effect
public DeactivateTeleport ( ) : void
Résultat void

DisableBosses() public méthode

public DisableBosses ( ) : void
Résultat void

EnableBosses() public méthode

public EnableBosses ( ) : void
Résultat void

OnApplicationQuit() public méthode

Unsubscribe the events!
public OnApplicationQuit ( ) : void
Résultat void

OnDestroy() public méthode

public OnDestroy ( ) : void
Résultat void

OnTriggerStay() public méthode

When the player stays within the collider, call this to teleport the player
public OnTriggerStay ( Collider collider ) : void
collider Collider The object that entered the trigger
Résultat void

Start() public méthode

Subscribe to activate and deactivate, and initialize the particle effect
public Start ( ) : void
Résultat void

Property Details

destinationWarpPad public_oe property

public GameObject destinationWarpPad
Résultat GameObject

onEffect public_oe property

public ParticleSystem onEffect
Résultat ParticleSystem

planetBosses public_oe property

public GameObject[] planetBosses
Résultat GameObject[]

shakeIntensity public_oe property

public float shakeIntensity
Résultat float

transportDelaySeconds public_oe property

public float transportDelaySeconds
Résultat float

warpToPlanetName public_oe property

public string warpToPlanetName
Résultat string