Class ScreenFadeEffector
Inheritance
ScreenFadeEffector
Assembly: Xareus.Unity.Librairies.dll
Syntax
[Renamed("SEVEN.Unity.ScreenFadeEffector", "Assembly-CSharp")]
public class ScreenFadeEffector : AUnityEffector
Constructors
ScreenFadeEffector(Event, Dictionary<string, Parameter>, IContext, IContext, IContext, IContext)
Declaration
public ScreenFadeEffector(Event @event, Dictionary<string, Parameter> parameters, IContext externalContext, IContext scenarioContext, IContext sequenceContext, IContext eventContext)
Parameters
Fields
camerasToFade
Declaration
[ConfigurationParameter("Cameras", "All if not/none specified", Necessity.Optional)]
protected List<Camera> camerasToFade
Field Value
fadeColor
Declaration
[ConfigurationParameter("Color", "The solid color the fade effect will use. Default is black", Necessity.Optional)]
protected Color fadeColor
Field Value
fadeDuration
Declaration
[ConfigurationParameter("Duration", "Fade duration in seconds", Necessity.Required)]
protected float fadeDuration
Field Value
fadeType
Declaration
[ConfigurationParameter("Fade Type", "Fade in to color or Fade out from color", Necessity.Required)]
protected ScreenFadeEffector.FadeType fadeType
Field Value
Methods
SafeEffectorUpdate()
Actual effector code. Note that this code will be executed in unity's thread
Declaration
public override void SafeEffectorUpdate()
Overrides