C# Class ExitCryo, TheUnseen

Inheritance: MonoBehaviour
Show file Open project: henryj41043/TheUnseen

Public Properties

Property Type Description
animation Animation
endPos Transform
player GameObject
sounds UnityEngine.AudioClip[]
startPos Transform
transitionDuration float

Public Methods

Method Description
Awake ( ) : void
ToggleFrozen ( ) : void
Update ( ) : void

Private Methods

Method Description
OpenDoor ( ) : IEnumerator
Transition ( ) : IEnumerator
WaitForAnimation ( ) : IEnumerator

Method Details

Awake() public method

public Awake ( ) : void
return void

ToggleFrozen() public method

public ToggleFrozen ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

animation public property

public Animation animation
return Animation

endPos public property

public Transform endPos
return Transform

player public property

public GameObject player
return GameObject

sounds public property

public AudioClip[],UnityEngine sounds
return UnityEngine.AudioClip[]

startPos public property

public Transform startPos
return Transform

transitionDuration public property

public float transitionDuration
return float