Show / Hide Table of Contents

Class DreamEntryFader

Manages the fading effect when entering a dream sequence.

Inheritance
object
Object
Component
Behaviour
MonoBehaviour
DreamEntryFader
GGDreamEntryFader
Namespace: WeaverCore.Components
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
Type Description
string
| Edit this page View Source

heroFacesLeft

Declaration
[SerializeField]
[Tooltip("Does the hero face left upon entry?")]
protected bool heroFacesLeft
Field Value
Type Description
bool

Properties

| Edit this page View Source

EntryDoor

Gets the entry door associated with this DreamEntryFader.

Declaration
public string EntryDoor { get; }
Property Value
Type Description
string

Methods

| Edit this page View Source

Awake()

Declaration
protected virtual void Awake()
| Edit this page View Source

WaitForHero()

Declaration
protected IEnumerator WaitForHero()
Returns
Type Description
IEnumerator

Extension Methods

ReflectionUtilities.ReflectCallMethod(object, string, object[], BindingFlags)
ReflectionUtilities.ReflectGetField(object, string, BindingFlags)
ReflectionUtilities.ReflectGetMethod(object, string, BindingFlags)
ReflectionUtilities.ReflectGetProperty(object, string, BindingFlags)
ReflectionUtilities.ReflectSetField(object, string, object, BindingFlags)
ReflectionUtilities.ReflectSetProperty(object, string, object, BindingFlags)
CoroutineUtilities.RunCoroutineWhile<T>(T, IEnumerator, Func<bool>)
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Generated by DocFX
☀
☾