C# 클래스 WarpTransport, gmap377_leathGloves_inc

상속: MonoBehaviour
파일 보기 프로젝트 열기: bi3mer/gmap377_leathGloves_inc

공개 프로퍼티들

프로퍼티 타입 설명
destinationWarpPad GameObject
onEffect ParticleSystem
planetBosses GameObject[]
shakeIntensity float
transportDelaySeconds float
warpToPlanetName string

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
TransportAfterTime ( ) : IEnumerator

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

메소드 상세

ActivateTeleport() 공개 메소드

Plays the particle effect
public ActivateTeleport ( ) : void
리턴 void

DeactivateTeleport() 공개 메소드

Stops the particle effect
public DeactivateTeleport ( ) : void
리턴 void

DisableBosses() 공개 메소드

public DisableBosses ( ) : void
리턴 void

EnableBosses() 공개 메소드

public EnableBosses ( ) : void
리턴 void

OnApplicationQuit() 공개 메소드

Unsubscribe the events!
public OnApplicationQuit ( ) : void
리턴 void

OnDestroy() 공개 메소드

public OnDestroy ( ) : void
리턴 void

OnTriggerStay() 공개 메소드

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
리턴 void

Start() 공개 메소드

Subscribe to activate and deactivate, and initialize the particle effect
public Start ( ) : void
리턴 void

프로퍼티 상세

destinationWarpPad 공개적으로 프로퍼티

public GameObject destinationWarpPad
리턴 GameObject

onEffect 공개적으로 프로퍼티

public ParticleSystem onEffect
리턴 ParticleSystem

planetBosses 공개적으로 프로퍼티

public GameObject[] planetBosses
리턴 GameObject[]

shakeIntensity 공개적으로 프로퍼티

public float shakeIntensity
리턴 float

transportDelaySeconds 공개적으로 프로퍼티

public float transportDelaySeconds
리턴 float

warpToPlanetName 공개적으로 프로퍼티

public string warpToPlanetName
리턴 string