C# Class GoToScene, TheUnseen

Inheritance: MonoBehaviour
Show file Open project: henryj41043/TheUnseen Class Usage Examples

Public Properties

Property Type Description
cutsceneScript ElevatorCutscene,
elevator GameObject
elevatorRunning UnityEngine.AudioClip
sceneName string
startElevator AudioClip

Public Methods

Method Description
OnTriggerEnter ( Collider c ) : void

Private Methods

Method Description
LoadScene ( ) : IEnumerator

Method Details

OnTriggerEnter() public method

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

Property Details

cutsceneScript public property

public ElevatorCutscene, cutsceneScript
return ElevatorCutscene,

elevator public property

public GameObject elevator
return GameObject

elevatorRunning public property

public AudioClip,UnityEngine elevatorRunning
return UnityEngine.AudioClip

sceneName public property

public string sceneName
return string

startElevator public property

public AudioClip startElevator
return AudioClip