Click or drag to resize

FadeIn Class

Fades the screen in on Awake.
Inheritance Hierarchy
SystemObject
  Object
    Component
      Behaviour
        MonoBehaviour
          Kit.BehavioursFadeIn

Namespace:  Kit.Behaviours
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0
Syntax
C#
public class FadeIn : MonoBehaviour
Request Example View Source

The FadeIn type exposes the following members.

Fields
  NameDescription
Public fieldCompleted
Stuff to do when the fading is done.
Public fieldFadeColor
The fading color to use.
Public fieldFadeTime
The fade duration.
Top
Extension Methods
  NameDescription
Public Extension MethodDestroy
Destroy the object.
(Defined by UnityObjectExtensions.)
Public Extension MethodDisable
Set the enabled property to .
(Defined by BehaviourExtensions.)
Public Extension MethodEnable
Set the enabled property to .
(Defined by BehaviourExtensions.)
Public Extension MethodGetBounds

Returns the bounds of the Component.

(Defined by ComponentExtensions.)
Public Extension MethodIsPrefab
Returns whether the Component is a part of a prefab.
(Defined by ComponentExtensions.)
Top
Remarks
Drop it on a GameObject in a scene to fade it in whenever it loads.
See Also