Class DreamEntryFader
Manages the fading effect when entering a dream sequence.
Inheritance
Object
Component
Behaviour
MonoBehaviour
DreamEntryFader
Assembly: WeaverCore.dll
Syntax
public class DreamEntryFader : MonoBehaviour
Fields
|
Edit this page
View Source
dreamEnterAudio
Declaration
[SerializeField]
[Tooltip("The audio clip to play when entering the dream.")]
protected AudioClip dreamEnterAudio
Field Value
Type |
Description |
AudioClip |
|
|
Edit this page
View Source
entryDoor
Declaration
[SerializeField]
[Tooltip("Specifies which door in the scene should the player come out of for this entry fader to activate. Leave blank for any entry door")]
protected string entryDoor
Field Value
|
Edit this page
View Source
heroFacesLeft
Declaration
[SerializeField]
[Tooltip("Does the hero face left upon entry?")]
protected bool heroFacesLeft
Field Value
Properties
|
Edit this page
View Source
EntryDoor
Gets the entry door associated with this DreamEntryFader.
Declaration
public string EntryDoor { get; }
Property Value
Methods
|
Edit this page
View Source
Awake()
Declaration
protected virtual void Awake()
|
Edit this page
View Source
WaitForHero()
Declaration
protected IEnumerator WaitForHero()
Returns
Extension Methods