C# Class ElevatorController, GGJ2016

Inheritance: MonoBehaviour
显示文件 Open project: netgrind/GGJ2016 Class Usage Examples

Public Properties

Property Type Description
doorAnimation UnityEngine.AnimationCurve
doorTime float
elevatorTime float
isPlayerInside bool
leftDoor Transform
levelMix AudioMixer,
levels List
rideSource UnityEngine.AudioSource
rightDoor Transform
shakeMe Transform

Public Methods

Method Description
AnimateDoor ( float f ) : void
CloseDoor ( ) : void
EnableLevel ( ) : void
GoToLevel ( int index ) : void
OnDoorClose ( ) : void
OnDoorOpen ( ) : void
OnTriggerEnter ( Collider other ) : void
OnTriggerExit ( Collider other ) : void
OpenDoor ( ) : void
Start ( ) : void
Update ( ) : void

Method Details

AnimateDoor() public method

public AnimateDoor ( float f ) : void
f float
return void

CloseDoor() public method

public CloseDoor ( ) : void
return void

EnableLevel() public method

public EnableLevel ( ) : void
return void

GoToLevel() public method

public GoToLevel ( int index ) : void
index int
return void

OnDoorClose() public method

public OnDoorClose ( ) : void
return void

OnDoorOpen() public method

public OnDoorOpen ( ) : void
return void

OnTriggerEnter() public method

public OnTriggerEnter ( Collider other ) : void
other Collider
return void

OnTriggerExit() public method

public OnTriggerExit ( Collider other ) : void
other Collider
return void

OpenDoor() public method

public OpenDoor ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

doorAnimation public_oe property

public AnimationCurve,UnityEngine doorAnimation
return UnityEngine.AnimationCurve

doorTime public_oe property

public float doorTime
return float

elevatorTime public_oe property

public float elevatorTime
return float

isPlayerInside public_oe property

public bool isPlayerInside
return bool

leftDoor public_oe property

public Transform leftDoor
return Transform

levelMix public_oe property

public AudioMixer, levelMix
return AudioMixer,

levels public_oe property

public List levels
return List

rideSource public_oe property

public AudioSource,UnityEngine rideSource
return UnityEngine.AudioSource

rightDoor public_oe property

public Transform rightDoor
return Transform

shakeMe public_oe property

public Transform shakeMe
return Transform